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

  1. Install or upgrade Codex CLI:

npm i -g @openai/codex@latest

  1. Check installed package version:

npm ls -g @openai/codex --depth=0

  1. Check package.json version:

node -p "require('/home/litao/.nvm/versions/node/v20.20.0/lib/node_modules/@openai/codex/package.json').version"

  1. 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

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #18648
  • #17432

Powered by Codex Action

etraut-openai contributor · 4 months ago

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.

YodHeVauHe · 4 months ago

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.