Codex self-update emits Homebrew rename warning (`brew upgrade codex`)

Resolved 💬 2 comments Opened Jan 24, 2026 by JBallin Closed Jan 27, 2026
💡 Likely answer: A maintainer (swordfish444, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.89.0

What subscription do you have?

N/A

Which model were you using?

_No response_

What platform is your computer?

_No response_

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

Warning: Formula codex was renamed to homebrew/cask/codex.

What steps can reproduce the bug?

Trigger the Codex self-update on a system where Codex is installed via Homebrew cask. This results in the following command being executed:

brew upgrade codex

What is the expected behavior?

The Codex self-update should not emit a Homebrew rename warning.

Additional information

_No response_

View original on GitHub ↗

2 Comments

swordfish444 contributor · 7 months ago

@etraut-openai Looks like this is already addressed by #9823 (switching self-update to use brew upgrade --cask codex to avoid the rename warning / ambiguity).

If that PR covers the remaining edge cases (e.g. systems with both formula + cask present), this issue can probably be closed once it merges/releases.

etraut-openai contributor · 7 months ago

Yes, PR #9823 references this bug report. Github automatically closes linked bugs when a PR is merged. It's a convenient automation.