npm安装后无法启动codex

Resolved 💬 2 comments Opened Sep 17, 2025 by leecyno1 Closed Oct 16, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.4.10

Which model were you using?

gpt5

What platform is your computer?

macOS

What steps can reproduce the bug?

打开终端安装后,启动codex显示如下:

(base) lichengyin@daibideMacBook-Pro ~ % npm install -g @openai/codex

changed 11 packages in 877ms
(base) lichengyin@daibideMacBook-Pro ~ % codex
Error loading configuration: TOML parse error at line 1, column 1
|
1 | {
| ^
invalid key-value pair, expected key

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

MaurUppi · 11 months ago

The latest version is https://github.com/openai/codex/releases/tag/rust-v0.38.0

What is ver 0.4.10?

tibo-openai collaborator · 10 months ago

Please upgrade to latest Codex CLI version, we have now fully migrated to the rust version.