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_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 3 months ago

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

  • #19421

Powered by Codex Action

etraut-openai contributor · 3 months ago

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.

chevdor · 2 months ago

here is the issue:

brew upgrade --cask codex

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:

brew upgrade --cask codex

into:

brew update; brew upgrade --cask codex
chevdor · 2 months ago

So workaround: run brew update and let codex do its thing.

hoooou · 1 month ago
问题出在: `` brew upgrade --cask codex ` 这是假设用户确实运行了酿造更新 ......如果不行,酿造会升级到本地系统上最后已知的版本,但与 Codex 预期的最新版本不符。 解决方案: 变化: ` brew upgrade --cask codex ` 转为: ` brew update; brew upgrade --cask codex ``

太棒了,可以使用

here is the issue: `` brew upgrade --cask codex ` 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: ` brew upgrade --cask codex ` into: ` brew update; brew upgrade --cask codex ``

太棒了,可以使用

here is the issue: `` brew upgrade --cask codex ` 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: ` brew upgrade --cask codex ` into: ` brew update; brew upgrade --cask codex ``

太棒了,可以使用

here is the issue: `` brew upgrade --cask codex ` 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: ` brew upgrade --cask codex ` into: ` brew update; brew upgrade --cask codex ``

太棒了,可以使用