codex:

分支1Tags0
文件最后提交记录最后更新时间
core: log AGENTS.md paths as URIs (#28989)3 小时前
build: run buildifier from just fmt (#28125)4 天前
Pin Windows argument lint to Windows 2022 (#28940)9 小时前
Recommend Bazel VSCode extension. (#25161)20 天前
core: load AGENTS.md from foreign environments (#28958)4 小时前
cli: add package path from install context (#26189)15 天前
core: assign item IDs to compacted replacement history (#29012)54 分钟前
[codex] Remove child AGENTS.md prompt experiment (#28993)3 小时前
[codex] Provide ARM64 MinGW powl compatibility support (#27323)7 天前
fix(install): support older awk checksum parsing (#28784)1 天前
build: run buildifier from just fmt (#28125)4 天前
bazel: add PowerShell to Wine test harness (#28120)4 天前
build: run buildifier from just fmt (#28125)4 天前
[bazel] Improve runfiles handling (#10098)4 个月前
build(v8): update rusty_v8 to 149.2.0 (#26464)12 天前
[bazel] Upgrade to bazel9 (#9576)4 个月前
[codex] Update imagegen system skill (#18852)1 个月前
Remove js_repl feature (#19410)1 个月前
Mark hooks schema fixtures as generated (#19194)1 个月前
Harden package-manager install policy (#19163)1 个月前
fix(tui): document paste-burst state machine (#9020)5 个月前
chore: migrate to pnpm for improved monorepo management (#287)1 年前
[apply-patch] Clean up apply-patch tool definitions (#2539)9 个月前
Initial commit1 年前
feat(app-server): expose rate-limit reset credits (#28143)3 天前
ci: cross-compile Windows Bazel tests (#20585)1 个月前
Documentation improvement: add missing period (#3754)7 个月前
Initial commit1 年前
bazel: refresh expired macOS SDK pin (#28791)1 天前
exec-server: add Noise relay transport (#26242)3 天前
Remove js_repl feature (#19410)1 个月前
docs: update README.md to mention curl-based installer (#24106)27 天前
[docs] Restore SECURITY.md update from PR 17848 (#18004)2 个月前
Add CLI update announcement (#17942)2 个月前
docs(changelog): update install command to @openai/codex@<version> (#2073)7 个月前
Run core integration tests against a Wine-backed Windows executor (#28401)3 天前
fix(nix): update flake for newer Rust toolchain requirements (#10302)4 个月前
fix(nix): use correct version from Cargo.toml in flake build (#11770)4 个月前
build: run buildifier from just fmt (#28125)4 天前
Harden package-manager install policy (#19163)1 个月前
[codex] Fix high severity dependency alerts (#18167)1 个月前
Harden package-manager install policy (#19163)1 个月前
build: run buildifier from just fmt (#28125)4 天前
ci: cross-compile Windows Bazel tests (#20585)1 个月前
ci: cross-compile Windows Bazel tests (#20585)1 个月前

Codex CLI is a coding agent from OpenAI that runs locally on your computer.

Codex CLI splash


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

Run the following on Mac or Linux to install Codex CLI:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

Run the following on Windows to install Codex CLI:

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

Codex CLI can also be installed via the following package managers:

# 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
  • Linux
    • x86_64: codex-x86_64-unknown-linux-musl.tar.gz
    • arm64: codex-aarch64-unknown-linux-musl.tar.gz

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, Business, 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.