Codex is uninstalling after every use

Resolved 💬 3 comments Opened Jan 6, 2026 by pzep1 Closed Jan 6, 2026

What version of Codex is running?

codex-cli 0.78.0

What subscription do you have?

plus

Which model were you using?

gpt 5.2

What platform is your computer?

mac os

What issue are you seeing?

codex keeps uninstalling after every use!

i install with npm.

What steps can reproduce the bug?

❯ npm i -g @openai/codex

changed 1 package in 11s
❯ codex --version
codex-cli 0.78.0
❯ codex
╭──────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.78.0) │
│ │
│ model: gpt-5.2-codex high /model to change │
│ directory: ~/CodeProjects │
╰──────────────────────────────────────────────────╯

Tip: NEW! Try shell snapshotting to make your Codex faster. Enable in /experimental!

⚠ MCP startup interrupted. The following servers were not initialized: XcodeBuildMCP


❯ codex
╭──────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.78.0) │
│ │
│ model: gpt-5.2-codex high /model to change │
│ directory: ~/CodeProjects │
╰──────────────────────────────────────────────────╯

Tip: Paste an image with Ctrl+V to attach it to your next message.
❯codex
zsh: correct 'codex' to '_code' [nyae]? n
zsh: command not found: codex
❯ which codex
codex not found

What is the expected behavior?

stay installed

Additional information

no

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗