Popular: Data updated December 2, 2026

Categories

Internet1,441
Communication331
Audio & video946
Graphics & design574
Office & productivity1,197
Developer tools3,317
AI tools625
Security & privacy418
System tools3,234
Games548
Education & science243
Network & IT297

Codex CLI 0.166.0 download

Codex CLI is an open‑source local coding agent that runs in your terminal, letting you write, edit, and understand code without leaving the command line.

OpenAI, Inc. AI assistants & LLMs #2 AI assistants & LLMs
This is an older version. The current version is 0.172.0. Codex CLI 0.172.0 · Released:

Installer files 0.166.0

ArchitectureTypeScopeFile sizeDownloadSHA256
64-bit ZIP → Portable — — github.com VirusTotal
ARM64 ZIP → Portable — — github.com VirusTotal

Link and SHA256 come from the Windows Package Manager community manifest. Compare the hash of the downloaded file before running it.

Release notes

New Features
- Added keyboard-driven transcript selection with word, line, and page motions, integrated search, and configurable shortcuts. (#57221, #57222, #57223, #57224)
- Rendered Markdown consistently in async questions, choices, answers, and transcript replies. (#57259, #57292)
- Added GPT-6.1 Terra to the bundled, Vertex AI, and Amazon Bedrock model catalogs. (#57293)
- Added codex queue --resume to resume unloaded threads after queueing a message. (#57232)
- Added clearer safety-block explanations and selectable safer follow-up prompts in the TUI. (#57363, #57365)
- Added codex doctor --network-only for focused configuration, connectivity, and WebSocket diagnostics. (#57606)
Bug Fixes
- Preserved acknowledged approval and permission settings when resuming or forking threads. (#57227)
- Preserved local image attachments when restoring killed composer text. (#57502)
- Fixed standalone release cleanup on macOS when installations are in use or paths contain non-ASCII characters. (#57503)
- Restored spawned descendant threads when unarchiving their parent. (#57635)
- Fixed app-server thread startup and shutdown races and released completed runtimes promptly. (#57787, #57788)
- Improved TUI reconnection recovery, including offline /quit and /exit handling. (#57820)
- Preserved reasoning-token accounting across resume and fork to avoid premature compaction. (#57839)
Chores
- Switched Bazel to source-built V8 with target-matched Rust bindings and native Windows MSVC archive support. (#57164, #57269, #57644, #57832)
- Shipped the standalone executor in canonical CLI and app-server release packages. (#57837)
- Standardized development and release builds on Node.js 24.22.1 and Rust 1.95.0. (#57168, #57373)
Changelog
Full Changelog: rust-v0.165.0...rust-v0.166.0
- #56468 Preserve SystemRoot for Windows filesystem sandbox helpers @jif-oai
- #56477 Move Guardian approval reason caps into context composition @ioanbudea-OAI
- #56483 Allow installed plugin metadata to skip display enrichment @bkotsopoulos
- #56493 Move Guardian tool description preparation into context composition @ioanbudea-OAI
- #56494 Add channel upserts to message boards @felixxia-oai
- #56495 Add paginated channel subscription queries to the local message board @felixxia-oai
- #56505 Defer synchronous Guardian tool-call truncation to preparation @ioanbudea-OAI
- #56514 Preserve tracing context throughout tool dispatch @bkotsopoulos
- #56515 Add trace instrumentation for turn startup and response streaming @bkotsopoulos
- #56516 Respect server approval policy defaults during TUI startup @etraut-openai
- #56524 Add turn, tool, and skill attribution to traces @bkotsopoulos
- #56525 Remove the 1 MiB response limit for explicit model catalogs @eternal-openai
- #56530 Record skill and plugin catalog sizes on publication @TAFOYA-OAI
- #56533 Defer sync Guardian tool-output truncation to transcript preparation @ioanbudea-OAI
- #56535 Extract the head-tail buffer into a utility crate @seanh-oai
- #56543 Track resume picker pagination and selection metadata per backend @bc-openai
- #56552 Initialize SQLite databases with DELETE journaling on NFS @dkovalenko-oai
- #56553 Include environment hooks in thread hook listings @andrewgu-oai
- #56554 Enable masked AWS credentials for local proxy signing @viyatb-oai
- #56555 Apply sync Guardian message limits during transcript preparation @ioanbudea-OAI
- #56556 Use conversations for all Guardian v2 async classification @felixxia-oai
- #56557 Exercise retained sampling in Guardian transport tests @felixxia-oai
- #56559 Remove Guardian snapshot-specific context helpers @felixxia-oai
- #56560 Allow configuring GCP project and location in provider settings @alexsong-oai
- #57164 Move the V8 Bazel build graph into Codex @seanh-oai
- #57165 Enforce V8 artifact profiles at Bazel target boundaries @seanh-oai
- #57166 Surface automatic marketplace update failures as startup warnings @dkovalenko-oai
- #57167 Track CUA tool call starts and deduplicate lifecycle events @trpcic-openai
- #57168 Centralize Node.js version selection on 24.22.1 @anp-oai
- #57169 Clarify config loader APIs and share interactive login setup @smurching-oai
- #57170 Update prebuilt argument-comment-lint to rust-v0.164.0 @tamird
- #57171 Integrate runtime authentication into model requests @cooper-oai
- #57172 Expose lifecycle timestamps on app-server thread items @charliemarsh-oai
- #57174 Add scoped request-body secret substitution to MITM hooks @viyatb-oai
- #57175 Integrate config-server policies with startup and authentication @smurching-oai
- #57176 Defer Guardian Node REPL output truncation until prompt preparation @ioanbudea-OAI
- #57178 Route FedRAMP API keys to government endpoints by default @lsingh-oai
- #57179 Consolidate async header authentication in apply_auth_headers @cooper-oai
- #57180 Add constraint-aware standalone network proxy configuration @viyatb-oai
- #57181 Add optional names to untrusted additional context @akira-oai
- #57185 Centralize unified exec output rendering @anp-oai
- #57186 Fail closed on unreadable glob search root metadata errors @viyatb-oai
- #57187 Allow advisory rollout budgets with optional limit enforcement @nvogt-oai
- #57188 Add a credential file override for GCP provider authentication @alexsong-oai
- #57191 Read unified exec output directly from stdout and stderr @anp-oai
- #57192 Gate capability discovery V2 on executor version @TAFOYA-OAI
- #57193 Preserve failed write_stdin calls in rollout trace replay @cassirer-openai
- #57194 Classify rollout tool calls by their runtime handler @cassirer-openai
- #57196 Isolate MCP inputs and timeouts for callers sharing a connection @charliemarsh-oai
- #57197 Clarify skill toggle summaries in the TUI @fcoury-oai
- #57198 Report the local command working directory in PreToolUse hooks @eternal-openai
- #57199 Truncate rollout JSON summaries at UTF-8 character boundaries @cassirer-openai
- #57201 Capture direct-tool critical paths behind a feature flag @taohong339
- #57202 Preserve the tool dispatch span across runtime futures @trpcic-openai
- #57203 Preserve command cwd in permission and post-tool hooks @eternal-openai
- #57204 Register the untrusted_as_tool_output feature flag @akira-oai
- #57206 Ignore the crypto-bigint timing advisory in dependency checks @etraut-openai
- #57207 Attribute approval waits to tool critical-path timing @taohong339
- #57208 Propagate installer download failures in standalone Unix updates @etraut-openai
- #57209 Report turn critical-path timing in analytics @taohong339
- #57210 Add opt-in protocol discovery for local stdio MCP servers @charliemarsh-oai
- #57211 Share eligible local stdio MCP connections across chats @charliemarsh-oai
- #57212 Enable zstd compression for code-mode gRPC responses @cayoub-oai
- #57215 Coordinate resume picker sources independently @bc-openai
- #57218 Support negotiated WebSocket compression in the remote app-server client @thorvald-oai
- #57220 Log app-server WebSocket compression statistics @thorvald-oai
- #57221 Expand keyboard navigation and selection in the transcript @fcoury-oai
- #57222 Integrate Find with transcript selection mode @fcoury-oai
- #57223 Wire keyboard selection into transcript overlays @fcoury-oai
- #57224 Fix transcript selection input routing and preserve composer drafts @fcoury-oai
- #57225 Add managed enforcement of DELETE journaling on NFS @dkovalenko-oai
- #57226 Allow NFS database migration with shared file permissions @dkovalenko-oai
- #57227 Preserve acknowledged permissions when resuming and forking threads @charliemarsh-oai
- #57228 Give remote control pairing a 35-second deadline @etraut-openai
- #57229 Simplify code-mode cell completion delivery @cconger
- #57232 Add optional thread resumption to codex queue @etraut-openai
- #57233 Stop dotenv loading on persistent I/O errors @etraut-openai
- #57234 Prevent credential collisions in registry auth test fixtures @jif-oai
- #57235 Tag exec_command telemetry with the configured shell snapshot mode @jif-oai
- #57238 Exercise V2 spawning in subagent context inheritance tests @tamird
- #57239 Make the MCP HTTP probe timeout test deterministic @jif-oai
- #57240 Bound memory baseline files and recover incomplete snapshots @dhruvgupta-oai
- #57241 Honor configured message limits for encrypted guardian transcripts @ioanbudea-OAI
- #57242 Reduce the default thread unload delay to one minute @jif-oai
- #57243 Pause Tokio time in startup draft handoff tests @goodman-oai
- #57244 Wait for process completion in the unified exec reuse test @goodman-oai
- #57245 Stabilize the rejected queue message test @goodman-oai
- #57247 Release the rollout maintenance lock when its guard is dropped @goodman-oai
- #57248 Make login token-refresh tests wait for auth publication @goodman-oai
- #57249 Allow disabling plugin discovery prefetch at app-server startup @zamoshchin-openai
- #57251 Show native dollar thread usage for ENT26 plans @jif-oai
- #57253 Allow slow daemon startup while detecting early process exits @etraut-openai
- #57255 Record reviewed exceptions for zstd security advisories @charliemarsh-oai
- #57256 Keep parent history out of attached thread views @btraut-openai
- #57257 Avoid unnecessary connector directory work for tool suggestions @charliemarsh-oai
- #57258 Reduce remote plugin catalog cache probing overhead @charliemarsh-oai
- #57259 Render Markdown in TUI async question choices @imac-oai
- #57260 Centralize permission request preparation and approval actions @swastik-oai
- #57261 Separate apply_patch request preparation from execution @swastik-oai
- #57262 Add incremental skill catalogs behind skill_catalog_deltas @adaley-openai
- #57263 Support model-catalog wording for permission path warnings @goodman-oai
- #57265 Show effective processing tiers in TUI status surfaces @etraut-openai
- #57267 Keep cloud conversation settings server-owned in the TUI @bc-openai
- #57268 Record reasons for embedded TUI starts @etraut-openai

https://github.com/openai/codex/releases/tag/rust-v0.166.0

Most popular in AI assistants & LLMs

See all
  1. Claude CodeUnleash Claude’s raw power directly in your terminal. Search million-line codebases instantly. Turn hours-long workflows into a single command. Your tools. Your workflow. Your codebase, evolving at thought speed.
  2. Codex CLICodex CLI is an open‑source local coding agent that runs in your terminal, letting you write, edit, and understand code without leaving the command line.
  3. ChatGPT by lencxChatGPT Desktop Application
  4. GPT4AllGPT4All is a GUI application for loading and interacting with Generative AI models
  5. oh-my-pi⌥ AI Coding agent for the terminal — hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and more
  6. JanTurn your computer into an AI computer
  7. CC SwitchA cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.
  8. T3 CodeT3 Code is a minimal web GUI for coding agents.
  9. OpenWorkAn open-source alternative to Claude Cowork, powered by OpenCode
  10. WSL ManagerA GUI to quickly manage your WSL2 instances.

Tags

Share