Add a `codex upgrade` command for easier updates, or implement automatic version updates
Resolved 💬 7 comments Opened Sep 24, 2025 by jasonwei1002 Closed Nov 23, 2025
💡 Likely answer: A maintainer (dedrisian-oai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
The current update command is too complex and not intuitive enough. It would be great if it could support codex upgrade to update versions. It would be even better if there were automatic updates. Thank you very much for your excellent work.
Are you interested in implementing this feature?
_No response_
Additional information
_No response_
7 Comments
Sometimes serious bugs occur, so if automatic updates are added, it would be better to offer them as an option.
In particular, with issues like the MCP-related caching problem and the usage-limit issue being discussed in version 0.40, forcing automatic updates would be inconvenient.
@arrrggghhh regarding the usage limit, what do you propose? In which version was it introduced to your knowledge, or is it global, not depending on codex-cli version?
Easy, Instead of using
codex upgrade, just runnpm install -g @openai/codexThis is because if they add codex upgrade , it will simply runnpm install -g @openai/codexorbrew install codex. Also, if they want to add auto-update, it should be optional.codex upgradeis far easier to rememberYes, this would be great.
Codex CLI now checks for updates when you run it.
It's really annoying that it can't update automatically, and it always reminds me of a new version.