Codex CLI version bug
Resolved 💬 3 comments Opened Apr 23, 2026 by leon37 Closed Apr 23, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What issue are you seeing?
After installing the latest Codex CLI from npm, the installed package version is 0.123.0, but codex --version reports codex-cli 0.114.0.
What variant of Codex are you using?
Codex CLI
What operating system are you using?
Ubuntu/Linux
Steps to reproduce
- Install or upgrade Codex CLI:
npm i -g @openai/codex@latest
- Check installed package version:
npm ls -g @openai/codex --depth=0
- Check package.json version:
node -p "require('/home/litao/.nvm/versions/node/v20.20.0/lib/node_modules/@openai/codex/package.json').version"
- Check CLI version output:
codex --version
Expected behavior
codex --version should report 0.123.0.
Actual behavior
codex --version reports:codex-cli 0.114.0
Additional information
Output:
$ npm ls -g @openai/codex --depth=0
/home/litao/.nvm/versions/node/v20.20.0/lib
└── @openai/codex@0.123.0
$ node -p "require('/home/litao/.nvm/versions/node/v20.20.0/lib/node_modules/@openai/codex/package.json').version"
0.123.0
$ codex --version
codex-cli 0.114.0
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This indicates you have more than one copy installed on your system. You'll need to find an uninstall the old 0.114.0 version.
Has this been addressed, I am having the same issue, nothing seems to fix it, OPENAI is vibecoding everything, don't ya'll have capable engineers.