when codex cli upgrade from 117 to 118, it remains 117 ver

Resolved 💬 5 comments Opened Apr 1, 2026 by zbn1120 Closed Apr 1, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.117.0

What subscription do you have?

free

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?

<img width="1202" height="710" alt="Image" src="https://github.com/user-attachments/assets/17e56e55-2e79-43da-bd69-7c22eae02347" />

What steps can reproduce the bug?

using a mac, npm install -g @openai/codex

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

5 Comments

etraut-openai contributor · 4 months ago

This is likely because you have two copies installed — perhaps one locally and one globally, or one installed with brew and one installed with npm. Try which codex to identify which one your shell is starting.

zbn1120 · 4 months ago
This is likely because you have two copies installed — perhaps one locally and one globally, or one installed with brew and one installed with npm. Try which codex to identify which one your shell is starting.

<img width="1198" height="708" alt="Image" src="https://github.com/user-attachments/assets/e7f205dd-859a-4c01-8929-df163afde864" />
It may relates to nvm? I installed codex in node v22.12 and also in node v22.22 at the same time

zbn1120 · 4 months ago

@etraut-openai

zbn1120 · 4 months ago

After I removed the other node versions ,problem remains the same.

zbn1120 · 4 months ago

Sorry, I figured that my npm source DOES NOT sync the codex's update.

<img width="1200" height="871" alt="Image" src="https://github.com/user-attachments/assets/232f06df-e148-4a7b-a3e0-dc9417981adc" />