Codex, several accounts
Guides.
Short, tested guides for running several OpenAI Codex accounts: CODEX_HOME, switching accounts, the Codex app with two accounts, and a comparison of the options.
Multiple Codex accounts on one Mac.How to run a work and a personal OpenAI Codex account side by side: one CODEX_HOME per account, for the Codex CLI and the Codex app. Free and paid ways.
How to switch accounts in Codex.Switch between ChatGPT accounts or an API key in the Codex CLI: codex logout and login, or keep every account signed in with its own CODEX_HOME.
CODEX_HOME, explained.What the CODEX_HOME environment variable does in OpenAI Codex, what lives in ~/.codex, and how to use it for several accounts, clean test setups and CI.
Two accounts in the Codex app.The Codex desktop app runs once and uses ~/.codex. How to open a second, separate Codex app window with another account on macOS.
Switching Codex accounts. Four ways, compared.codex logout and login, CODEX_HOME aliases, auth.json switchers and Switch for Codex, side by side: what each does, where it falls short, and who it suits.
Switch for Codex does this with one click on a Mac: every account in its own Codex app window and in your terminal, all open at once, from the app or the menu bar. $9.99 once, no subscription.