Feature request: add `codex update` command for one-step self-update
Resolved 💬 1 comment Opened Feb 9, 2026 by whitebai17111-ai Closed Feb 9, 2026
Problem
Updating Codex CLI depends on install method (npm/brew/binary), so users must remember different commands.
Proposal
Add a built-in update flow:
codex update --checkshows current vs latest version.codex updateperforms update automatically.- Auto-detect install source and run correct updater (npm, brew, standalone binary).
- Print clear old/new version and actionable failure reasons.
Why this helps
One-step self-update improves discoverability and reduces update friction.
Environment example
Windows + npm global install (@openai/codex).
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗