Codex
Codex CLI is a coding agent from OpenAI that runs locally on your computer. It is a lightweight terminal-based agent, and Codex is also available in IDEs, as a desktop app, and as a cloud-based agent called Codex Web.
Visit openai/codexOverview
Codex CLI is a coding agent from OpenAI that runs locally on your computer. It provides a lightweight terminal-based coding agent experience and can also be used through IDE integrations, a desktop app, and the cloud-based Codex Web.
Key Features
- Lightweight coding agent that runs in your terminal
- Runs locally on your computer
- Can be installed via standalone installer, npm, or Homebrew
- Supports signing in with a ChatGPT account or an API key
- Available as an IDE integration, desktop app, and cloud-based Codex Web
Use Cases
- Terminal-based coding assistance
- Local coding agent workflows
- Use with IDE integrations, desktop app, or Codex Web
Getting Started
- On Mac or Linux, run the install script: curl -fsSL https://chatgpt\.com/codex/install\.sh | sh
- On Windows, run the PowerShell install script: powershell -ExecutionPolicy ByPass -c "irm https://chatgpt\.com/codex/install\.ps1 | iex"
- Install with npm: npm install -g @openai/codex
- Install with Homebrew: brew install --cask codex
- Run codex to get started and select Sign in with ChatGPT
Deployment & Requirements
- Supported platforms include macOS, Linux, and Windows.
- macOS binaries are available for Apple Silicon/arm64 and x86_64; Linux binaries are available for x86_64 and arm64.
- Standalone installers download from https://releases\.openai\.com/codex by default and fall back to GitHub Releases if a metadata or asset download is unavailable.
- Using an API key requires additional setup.
Before You Adopt
- License: Apache-2.0. Review its terms before using, modifying, or distributing the project.
- Standalone installers have a default download source and fall back to GitHub Releases if metadata or asset downloads are unavailable.
- Using Codex with a ChatGPT plan depends on signing in with a ChatGPT account and is associated with Plus, Pro, Business, Edu, or Enterprise plans.