Every time I start Codex CLI it reports a new version is available
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:
- Run codex
- Run codex update as prompted
- Restart the terminal or run codex again
- 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_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Run
npm install -g @openai/codexmanually.Run
which -a codexto see your path - you likely have multiple installs of the CLI on your system. Update the correct oneAs 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?
In my case, it was because of the globally set
min-release-ageoption in the.npmrcfile.