codex-manage is a small terminal UI for switching between multiple Codex auth profiles on the fly.
It keeps saved profiles next to your local Codex config (~/.codex/auth.json on Linux/macOS, %USERPROFILE%\.codex\auth.json on Windows) and lets you quickly:
- save the current auth file as a named profile
- activate another saved profile
- add a short note to a profile for quick context
- rename or delete saved profiles
- log out by removing the active
auth.json
This is useful if you regularly work with multiple Codex accounts and want a faster way to swap between them without logging out/in constantly or manually copying auth files around.
On macOS or Linux, install with Homebrew:
brew install AspireOne/tap/codex-manageOn Windows, install with Scoop:
scoop bucket add AspireOne https://github.com/AspireOne/scoop-bucket
scoop install codex-manageOr download the archive for your platform from the latest GitHub release, extract it, and put the codex-manage binary somewhere on your PATH.
To update an existing package-manager install:
brew update
brew upgrade codex-managescoop update
scoop update codex-managemake buildThis produces a binary named codex-manage (or codex-manage.exe on Windows) in the dist/ directory.
You can also build directly with Go:
go build -o dist/ ./cmd/codex-manageCreate and push a release tag with:
go run scripts/release.go v0.1.0This script ensures your working tree is clean, runs tests, creates an annotated git tag, and pushes it to origin. GitHub Actions then builds release archives for Linux, macOS, and Windows, publishes a GitHub release, and includes the commits since the previous tag in the release notes.
This repo can also update a separate Homebrew tap repository whenever a GitHub release is published.
One-time setup:
- Create a tap repo on GitHub, for example
AspireOne/homebrew-tap. - In this repo, add a repository variable named
HOMEBREW_TAP_REPOwith that value. - Add a repository secret named
HOMEBREW_TAP_TOKENcontaining a GitHub token that can push to the tap repo.
After that, each published release updates Formula/codex-manage.rb in the tap automatically.
Users can then install with:
brew install AspireOne/tap/codex-manageThis repo can also update a separate Scoop bucket repository whenever a GitHub release is published.
One-time setup:
- Create a bucket repo on GitHub, for example
AspireOne/scoop-bucket. - In this repo, add a repository variable named
SCOOP_BUCKET_REPOwith that value. - Add a repository secret named
SCOOP_BUCKET_TOKENcontaining a GitHub token that can push to the bucket repo.
After that, each published release updates bucket/codex-manage.json in the bucket automatically.
Users can then install with:
scoop bucket add AspireOne https://github.com/AspireOne/scoop-bucket
scoop install codex-manage./dist/codex-manage(Or ./dist/codex-manage.exe on Windows)
