Every time I start Codex CLI it reports a new version is available

Resolved 💬 5 comments Opened Oct 31, 2025 by wangyusheng1985 Closed Nov 15, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.48.0

What subscription do you have?

Every time I start Codex CLI it reports a new version is available. Running codex update completes (or says already up to date), but after restarting the terminal or running Codex again, the update prompt still appears

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 24.6.0 x86_64 i386

What issue are you seeing?

Every time I start Codex CLI it reports a new version is available. Running codex update completes (or says already up to date), but after restarting the terminal or running Codex again, the update prompt still appears.

<img width="710" height="184" alt="Image" src="https://github.com/user-attachments/assets/a24c4a1f-02b3-4db7-895a-f7aca016d457" />

<img width="616" height="156" alt="Image" src="https://github.com/user-attachments/assets/9a712eee-9b48-4fb9-92ba-1bfbbc3fbc9c" />

What steps can reproduce the bug?

  • Steps to reproduce:
  1. Run codex
  2. Run codex update as prompted
  3. Restart the terminal or run codex again
  4. See the same update prompt

What is the expected behavior?

After a successful update, no further update prompt appears and codex --version matches the latest version indicated by the prompt.

Additional information

_No response_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 10 months ago

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

  • #5607
  • #5971
  • #5515

Powered by Codex Action

thienanblog · 10 months ago

Run npm install -g @openai/codex manually.

ignatremizov · 10 months ago

Run which -a codex to see your path - you likely have multiple installs of the CLI on your system. Update the correct one

etraut-openai contributor · 10 months ago

As others have noted, this is probably because you have two copies of the CLI installed on your system.

Were you able to find and remove the second copy?

rago4 · 3 days ago

In my case, it was because of the globally set min-release-age option in the .npmrc file.