codex icon indicating copy to clipboard operation
codex copied to clipboard

About Update codex version.

Open youaodu opened this issue 1 month ago • 9 comments

What version of Codex is running?

0.65.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

Linux Arch

What issue are you seeing?

I saw Codex prompt me that there is a new version, but I couldn't pull the latest version through brew upgrade - cash codex.

Image Image

What steps can reproduce the bug?

no

What is the expected behavior?

No response

Additional information

No response

youaodu avatar Dec 13 '25 03:12 youaodu

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

  • #6902
  • #5971

Powered by Codex Action

github-actions[bot] avatar Dec 13 '25 03:12 github-actions[bot]

This typically indicates that you have multiple copies of codex installed on your system. Try to find all copies and manually uninstall them, then install the new version.

etraut-openai avatar Dec 13 '25 03:12 etraut-openai

Yes, I uninstalled and reinstalled it.

Image Image

Re running Codex, it still prompts me that there is a new version update, which means that the version installed by brew is not the latest version?

youaodu avatar Dec 13 '25 04:12 youaodu

Have you perhaps used npm to install codex at some point in the past? If you brew uninstall codex and then which codex, does it find a copy?

etraut-openai avatar Dec 14 '25 04:12 etraut-openai

no, i'am before currently never used npm install codex. but just used npm install codex. can install laster version.

Eric Traut @.***> 于2025年12月14日周日 12:28写道:

etraut-openai left a comment (openai/codex#7964) https://github.com/openai/codex/issues/7964#issuecomment-3650195759

Have you perhaps used npm to install codex at some point in the past? If you brew uninstall codex and then which codex, does it find a copy?

— Reply to this email directly, view it on GitHub https://github.com/openai/codex/issues/7964#issuecomment-3650195759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5AYNFOEX72OCBEBSI6ZH34BTRNPAVCNFSM6AAAAACO5H2IRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNJQGE4TKNZVHE . You are receiving this because you authored the thread.Message ID: @.***>

youaodu avatar Dec 14 '25 07:12 youaodu

Same issue, I'm using npm, not brew

Image

charleskan avatar Dec 15 '25 04:12 charleskan

@charleskan, are you running codex on Linux or MacOS? I see "MacBook-Pro" in your screen shot, so I'm guessing it's the latter. Just want to confirm because I had a theory that this problem might be specific to Linux.

etraut-openai avatar Dec 15 '25 04:12 etraut-openai

@charleskan, are you running codex on Linux or MacOS? I see "MacBook-Pro" in your screen shot, so I'm guessing it's the latter. Just want to confirm because I had a theory that this problem might be specific to Linux.

Yes, here is my device information:

Image

charleskan avatar Dec 15 '25 04:12 charleskan

Hi @charleskan! Can you run which codex and paste the output here? Can you also paste the value under ~/.codex/version.json?

shijie-oai avatar Dec 15 '25 17:12 shijie-oai

Hi @charleskan! Can you run which codex and paste the output here? Can you also paste the value under ~/.codex/version.json?

charles.kan@Charless-MacBook-Pro isplit % which codex
/Users/charles.kan/.bun/bin/codex
charles.kan@Charless-MacBook-Pro isplit % cat ~/.codex/version.json
{"latest_version":"0.73.0","last_checked_at":"2025-12-17T02:42:08.816358Z","dismissed_version":"0.66.0"}

charleskan avatar Dec 17 '25 04:12 charleskan

I had the same issue with multiple installs. I never used bun to install it, but it was located inside the .bun/bin directory.

It works after running bun remove -g @openai/codex && npm install -g @openai/codex.

claudiosanches avatar Dec 18 '25 00:12 claudiosanches