- Fast mode is now enabled by default, and the TUI header shows whether the session is running in Fast or Standard mode. (#13450, #13446) - `js_repl` can now dynamically import local `.js` and `.mjs` files, making it easier to reuse workspace scripts from the REPL. (#13437) - Codex now tells the model which plugins are enabled at session start, improving discovery of installed MCPs, apps, and skills. (#13433) - App-server v2 now exposes MCP elicitation as a structured request/response flow instead of raw events, which simplifies client integrations. (#13425) - Expanded image workflow support for clients, including client-side handling of image-generation events and model metadata for image-capable web search. (#13512, #13538) ## Bug Fixes - Resuming a thread now preserves its stored git context and keeps apps enabled, avoiding broken state after `codex resume`. (#13504, #13533) ## Documentation - Added sample skill documentation for artifact workflows, including slide deck and spreadsheet examples. (#13525) ## Changelog Full Changelog: https://github.com/openai/codex/compare/rust-v0.110.0...rust-v0.111.0 - #13516 Log non-audio realtime events @aibrahim-oai - #13208 chore(deps): bump actions/download-artifact from 7 to 8 @dependabot - #13512 image-gen-event/client_processing @won-openai - #13210 chore(deps): bump strum_macros from 0.27.2 to 0.28.0 in /codex-rs @dependabot - #13209 chore(deps): bump serde_with from 3.16.1 to 3.17.0 in /codex-rs @dependabot - #13504 Preserve persisted thread git info in resume @joeytrasatti-openai - #13207 chore(deps): bump actions/upload-artifact from 6 to 7 @dependabot - #13433 feat: track plugins mcps/apps and add plugin info to user_instructions @sayan-oai - #13450 [core] Enable fast mode by default @pash-openai - #13438 [tui] rotate paid promo tips to include fast mode @pash-openai - #13515 [tui] Update fast mode plan usage copy @pash-openai - #13533 [apps] Fix the issue where apps is not enabled after codex resume. @mzeng-openai - #13437 [js_repl] Support local ESM file imports @aaronl-openai - #13539 Reduce realtime audio submission log noise @aibrahim-oai - #13538 chore: add web_search_tool_type for image support @sayan-oai - #13446 [tui] Show speed in session header @pash-openai - #13392 refactor: prepare unified exec for zsh-fork backend @bolinfest - #13571 feat: bind package manager @jif-oai - #13525 feat: skills for artifacts @jif-oai - #13573 feat: ultra polish package manager @jif-oai - #13577 chore: ultra-clean artifacts @jif-oai - #13425 feat(app-server): support mcp elicitations in v2 api @owenlin0
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.
