Codex CLI keeps prompting to update after successful update (0.141.0 → 0.142.4)

Resolved 💬 3 comments Opened Jul 1, 2026 by Romanyvol Closed Jul 11, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.141.0

What subscription do you have?

plus

Which model were you using?

gpt-5.5-codex

What platform is your computer?

windows11

What terminal emulator and version are you using (if applicable)?

PowerShell

Codex doctor report

What issue are you seeing?

Every time I launch Codex CLI, it reports that an update is available:

Update available
0.141.0 -> 0.142.4

I select Update, the update completes successfully, and the CLI asks me to restart.

However, after restarting, the exact same update notification appears again.

The update seems to succeed, but the CLI continues to believe it is running version 0.141.0.

After investigating, I found that the package itself has already been updated to 0.142.4, but the CLI still reports version 0.141.0 and repeatedly asks to update.

What steps can reproduce the bug?

  1. Install Codex CLI in a portable directory (my installation is under C:\CodexDebug\node).
  1. Launch Codex CLI.
  1. The CLI reports:
Update available
0.141.0 -> 0.142.4
  1. Select Update.
  1. Wait until the update finishes successfully.
  1. Restart Codex CLI.
  1. The exact same update notification appears again.

Additionally:

.\node\codex.cmd --version

still reports:

codex-cli 0.141.0

even though the installed package is already 0.142.4.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 1 month ago

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

  • #29172

Powered by Codex Action

birgersp · 1 month ago

Exact same problem here.

NodeJS: 24.18.0

Codex won't let me use the latest model, since it thinks I'm on an older version of Codex. Yet this is the version I have installed:

/var/home/birger/.nvm/versions/node/v24.18.0/lib
├── @openai/codex@0.144.1
Romanyvol · 1 month ago
Exact same problem here. NodeJS: 24.18.0 Codex won't let me use the latest model, since it thinks I'm on an older version of Codex. Yet this is the version I have installed: `` /var/home/birger/.nvm/versions/node/v24.18.0/lib ├── @openai/codex@0.144.1 ``

Bro,you can tell Codex CLI this problem and tell him update one of the version,delete another one if you have two Codex CLI in your computer.CLI will keep the only one version which he is running and check update.