Summary
Installing codex-multi-auth after @openai/codex fails with an EEXIST binary collision on codex, and the README still instructs users to run codex auth list, which is not available in the current Codex CLI.
Reproduction
npm i -g @openai/codex
npm i -g codex-multi-auth
This fails with:
npm error code EEXIST
npm error path /opt/homebrew/bin/codex
npm error EEXIST: file already exists
npm error File exists: /opt/homebrew/bin/codex
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
Then checking the installed Codex CLI:
The current CLI exposes commands like login and logout, but not auth list, so the README verification flow appears outdated.
Confirmed environment
- macOS on Apple Silicon
- Homebrew prefix:
/opt/homebrew
@openai/codex@0.114.0
/opt/homebrew/bin/codex -> ../lib/node_modules/@openai/codex/bin/codex.js
Supporting evidence
Published bins for codex-multi-auth currently include both codex and codex-multi-auth:
npm view codex-multi-auth bin --json
Output:
{
"codex": "scripts/codex.js",
"codex-multi-auth": "scripts/codex-multi-auth.js"
}
The README currently references:
npm i -g @openai/codex
npm i -g codex-multi-auth
codex auth list
Actual behavior
npm i -g codex-multi-auth fails because /opt/homebrew/bin/codex already exists and is owned by the official @openai/codex install.
- The documented verification command
codex auth list does not exist in the current Codex CLI.
Expected behavior
- Installing
codex-multi-auth should not overwrite or collide with the official codex binary by default.
- The README should use verification/authentication commands that match the current Codex CLI.
Possible fixes
- Stop publishing the
codex binary from codex-multi-auth, or make that override opt-in / rename it.
- Update the README examples to match the current
@openai/codex command surface.
Summary
Installing
codex-multi-authafter@openai/codexfails with anEEXISTbinary collision oncodex, and the README still instructs users to runcodex auth list, which is not available in the current Codex CLI.Reproduction
This fails with:
Then checking the installed Codex CLI:
The current CLI exposes commands like
loginandlogout, but notauth list, so the README verification flow appears outdated.Confirmed environment
/opt/homebrew@openai/codex@0.114.0/opt/homebrew/bin/codex -> ../lib/node_modules/@openai/codex/bin/codex.jsSupporting evidence
Published bins for
codex-multi-authcurrently include bothcodexandcodex-multi-auth:Output:
{ "codex": "scripts/codex.js", "codex-multi-auth": "scripts/codex-multi-auth.js" }The README currently references:
npm i -g @openai/codexnpm i -g codex-multi-authcodex auth listActual behavior
npm i -g codex-multi-authfails because/opt/homebrew/bin/codexalready exists and is owned by the official@openai/codexinstall.codex auth listdoes not exist in the current Codex CLI.Expected behavior
codex-multi-authshould not overwrite or collide with the officialcodexbinary by default.Possible fixes
codexbinary fromcodex-multi-auth, or make that override opt-in / rename it.@openai/codexcommand surface.