Brew package shows new update but update does not work
Open 💬 5 comments Opened May 1, 2026 by amar-sharma
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
codex-cli 0.125.0
What subscription do you have?
Team
Which model were you using?
_No response_
What platform is your computer?
Darwin 24.6.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Warp
What issue are you seeing?
Codex does not update to latest
Updating Codex via `brew upgrade --cask codex`...
Warning: Not upgrading codex, the latest version is already installed
🎉 Update ran successfully! Please restart Codex.
What steps can reproduce the bug?
Start Codex
codex
This appears:
✨ Update available! 0.125.0 -> 0.128.0
Release notes: https://github.com/openai/codex/releases/latest
› 1. Update now (runs `brew upgrade --cask codex`)
2. Skip
3. Skip until next version
Press enter to continue
Press Enter
Updating Codex via `brew upgrade --cask codex`...
Warning: Not upgrading codex, the latest version is already installed
🎉 Update ran successfully! Please restart Codex.
What is the expected behavior?
Brew package should update codex to latest version.
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
This typically means that you have multiple copies of the CLI installed on your system. Perhaps one installed via npm and one by brew? Or one installed per-user and one installed globally? Look for the extra copy and uninstall it.
here is the issue:
This is assuming the user did run
brew update... if not, brew upgrades to the last KNOWN version on the local system and it does not match what codex expects as latest version.Solution:
change:
into:
So workaround: run
brew updateand letcodexdo its thing.太棒了,可以使用
太棒了,可以使用
太棒了,可以使用
太棒了,可以使用