- Releases now ship one-step installers for macOS, Linux, and Windows, so Codex can be installed directly from published scripts instead of relying on npm-first setup. (#12740, #12741) - Plugins can now be enabled from `config.toml`, and plugin bundles can contribute skills, MCP config, and app manifests that load automatically at runtime. (#12864, #13401) - Memories gained more user control: Codex can forget or hard-clear stored memories, skip polluted captures, and optionally write memory files into the workspace. (#12900, #13008, #13085, #13467) - Multi-agent work is easier in the TUI: you can launch it from `/agent`, review cross-agent approvals, get clearer agent names, and receive plan-mode or user-input notifications. (#12995, #13218, #13246, #13495) - Realtime voice sessions now have an `/audio` picker for microphone and speaker selection, with device choices stored across sessions. (#12849, #12850, #13030) - Sandboxing is more flexible: Linux bubblewrap now supports restricted read-only scopes, and read-only policies can preserve network access when explicitly allowed. (#12369, #13409) ## Bug Fixes - `@` file search now follows Git’s ignore boundaries, so a parent `.gitignore` outside the repo no longer hides valid project files. (#13250) - Diff and syntax highlighting now respect terminal and theme capabilities more reliably, fixing washed-out Windows Terminal diffs and broken ANSI-family syntax themes. (#13016, #13037, #13382) - `/agent` flows are more stable: pending messages, status display, Escape handling, profile interactions, and several race conditions were fixed. (#13130, #13131, #13235, #13240, #13248) - Command-line project trust overrides now correctly update project-local MCP transports instead of being dropped during config parsing. (#13090) ## Chores - The deprecated app-server v1 surface was further removed in favor of v2, and a flat v2 schema bundle is now exported to simplify client code generation. (#13324, #13364, #13375) ## Changelog Full Changelog: https://github.com/openai/codex/compare/rust-v0.108.0...rust-v0.109.0
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.
