Skip to content

Commit 00c1de0

Browse files
authored
Add instruction for upgrading codex with brew (#5640)
Include instruction for upgrading codex with brew when there is switch from formula to cask.
1 parent 190e7eb commit 00c1de0

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Then simply run `codex` to get started:
3333
codex
3434
```
3535

36+
If you're running into upgrade issues with Homebrew, see the [FAQ entry on brew upgrade codex](./docs/faq.md#brew-update-codex-isnt-upgrading-me).
37+
3638
<details>
3739
<summary>You can also go to the <a href="https://github.com/openai/codex/releases/latest">latest GitHub Release</a> and download the appropriate binary for your platform.</summary>
3840

docs/faq.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,14 @@ Running Codex directly on Windows may work, but is not officially supported. We
4242
### Where should I start after installation?
4343

4444
Follow the quick setup in [Install & build](./install.md) and then jump into [Getting started](./getting-started.md) for interactive usage tips, prompt examples, and AGENTS.md guidance.
45+
46+
### `brew upgrade codex` isn't upgrading me
47+
48+
If you're running Codex v0.46.0 or older, `brew upgrade codex` will not move you to the latest version because we migrated from a Homebrew formula to a cask. To upgrade, uninstall the existing oudated formula and then install the new cask:
49+
50+
```bash
51+
brew uninstall --formula codex
52+
brew install --cask codex
53+
```
54+
55+
After reinstalling, `brew upgrade --cask codex` will keep future releases up to date.

0 commit comments

Comments
 (0)