Command Reference
May 22, 2026 ยท View on GitHub
This directory documents command behavior by command. Use codex-auth <command> --help for the shortest in-terminal usage form.
Commands
| Command | Details |
|---|---|
list | docs/commands/list.md |
login | docs/commands/login.md |
import | docs/commands/import.md |
export | docs/commands/export.md |
switch | docs/commands/switch.md |
remove | docs/commands/remove.md |
alias | docs/commands/alias.md |
clean | docs/commands/clean.md |
config | docs/commands/config.md |
app | docs/commands/app.md |
Shared Behavior
- Commands resolve
codex_homefromCODEX_HOME, thenHOME/.codex, thenUSERPROFILE/.codexon Windows. - Account selection commands use the same row ordering and display grouping.
--apiexplicitly selects the default remote usage and account-name refresh path for the current command.--skip-apiforbids remote refresh for the current command.- Local-only usage refresh can update the active account from local Codex rollout files when usable local data exists.