- ChatGPT login now asks for the connector permissions needed to read from and invoke connectors during authenticated workflows. (#12383) - App-server clients can now target Windows sandbox setup at a specific workspace directory, which helps avoid slow first-command setup when the server starts outside the project folder. (#13484) - App-server adds an experimental way to install plugins from marketplace entries, including local `marketplace.json` sources that point at on-disk plugins. (#13422) ## Bug Fixes - ANSI-family syntax themes in the TUI now respect your terminal palette again instead of rendering as hard-coded near-black RGB colors. (#13382) - TUI notifications now surface plan-mode prompts and user input requests more reliably instead of allowing one notification to overwrite another. (#13495) - Realtime handoff transcripts now label each forwarded message with its speaker role, preserving clearer context for downstream agents. (#13505) ## Documentation - Updated `/fast` help text to explain the speed versus plan-usage tradeoff, and refreshed app-server examples to match the current API surface. (#13458, #13489) ## Changelog Full Changelog: https://github.com/openai/codex/compare/rust-v0.109.0...rust-v0.110.0 - #12383 add new scopes to login @adaley-openai - #13484 allow apps to specify cwd for sandbox setup. @iceweasel-oai - #13424 feat(core, tracing): add a span representing a turn @owenlin0 - #13489 remove serviceTier from app-server examples @kharvd - #13458 [tui] Update Fast slash command description @pash-openai - #13382 fix(tui): decode ANSI alpha-channel encoding in syntax themes @fcoury - #13485 feat: external artifacts builder @jif-oai - #13493 feat(app-server-test-client): OTEL setup for tracing @owenlin0 - #13501 add metrics for external config import @alexsong-oai - #13495 Notify TUI about plan mode prompts and user input requests @etraut-openai - #13506 [release] temporarily use thin LTO for releases @bolinfest - #13505 Prefix handoff messages with role @aibrahim-oai - #13422 plugin: support local-based marketplace.json + install endpoint. @xl-openai
npm i -g @openai/codex
or brew install --cask codex
Codex CLI is a coding agent from OpenAI that runs locally on your computer.
If you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE.
If you want the desktop app experience, run
codex app or visit the Codex App page.
If you are looking for the cloud-based agent from OpenAI, Codex Web, go to chatgpt.com/codex.
Quickstart
Installing and running Codex CLI
Install globally with your preferred package manager:
# Install using npm
npm install -g @openai/codex
# Install using Homebrew
brew install --cask codex
Then simply run codex to get started.
You can also go to the latest GitHub Release and download the appropriate binary for your platform.
Each GitHub Release contains many executables, but in practice, you likely want one of these:
- macOS
- Apple Silicon/arm64:
codex-aarch64-apple-darwin.tar.gz - x86_64 (older Mac hardware):
codex-x86_64-apple-darwin.tar.gz
- Apple Silicon/arm64:
- Linux
- x86_64:
codex-x86_64-unknown-linux-musl.tar.gz - arm64:
codex-aarch64-unknown-linux-musl.tar.gz
- x86_64:
Each archive contains a single entry with the platform baked into the name (e.g., codex-x86_64-unknown-linux-musl), so you likely want to rename it to codex after extracting it.
Using Codex with your ChatGPT plan
Run codex and select Sign in with ChatGPT. We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Team, Edu, or Enterprise plan. Learn more about what's included in your ChatGPT plan.
You can also use Codex with an API key, but this requires additional setup.
Docs
This repository is licensed under the Apache-2.0 License.
