- Notifications
You must be signed in to change notification settings - Fork8.1k
Lightweight coding agent that runs in your terminal
License
openai/codex
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
npm i -g @openai/codex
orbrew 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 visitthe Codex App page.If you are looking for thecloud-based agent from OpenAI,Codex Web, go tochatgpt.com/codex.
Install globally with your preferred package manager:
# Install using npmnpm install -g @openai/codex# Install using Homebrewbrew install --cask codexThen simply runcodex to get started.
You can also go to thelatest 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 tocodex after extracting it.
Runcodex and selectSign 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 requiresadditional setup.
This repository is licensed under theApache-2.0 License.
About
Lightweight coding agent that runs in your terminal
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
