Skip to content

Releases · Codex

Codex CLI 0.166.0 release notes

Version
0.166.0
Released
Status
Latest stable release

What's new in Codex CLI 0.166.0

The official notes for Codex CLI 0.166.0 list 16 changes: 5 new features, 3 fixes and 8 other changes.

  • 5 new features
  • 3 fixes
  • 8 other changes

Highlights

  • new feature Added keyboard-driven transcript selection with word, line, and page motions, integrated search, and configurable shortcuts.
  • new feature Added GPT-6.1 Terra to the bundled, Vertex AI, and Amazon Bedrock model catalogs.
  • new feature Added codex queue --resume to resume unloaded threads after queueing a message.
  • new feature Added clearer safety-block explanations and selectable safer follow-up prompts in the TUI.
  • new feature Added codex doctor --network-only for focused configuration, connectivity, and WebSocket diagnostics.

Our short summary: changes are counted and classified automatically from the official notes, and highlights are shortened. The complete, authoritative list is in the official release notes on GitHub.

Full release notes on GitHub (Codex CLI 0.166.0)

How to check your version and update Codex CLI

  1. Check the installed version:
    codex --version
  2. Update with the standalone installer (macOS, Linux):
    curl -fsSL https://chatgpt.com/codex/install.sh | sh
  3. npm:
    npm install -g @openai/codex@latest
  4. Install exactly 0.166.0 with npm:
    npm install -g @openai/codex@0.166.0
  5. Homebrew:
    brew upgrade --cask codex

Installing for the first time, or on Windows? How to install and update Codex CLI.

Commands from the official docs: Codex CLI · openai/codex README.