Isolating Multiple Codex CLI Accounts on macOS Using CODEX_HOME
On macOS with zsh, you can avoid repetitive login/logout when using several Codex CLI accounts by copying the ~/.codex directory, setting distinct CODEX_HOME paths, and creating alias commands, allowing each account to maintain separate configurations, contexts, and quotas while sharing project rules via AGENTS.md.
