A lightweight coding agent from OpenAI that runs in your terminal, with support for ChatGPT accounts or API keys.
- rust-v0.169.0
- Published at
- 9h ago
- 135,171
- Stars
- 314,047
- Download
- Synced at
- 10m ago
Latest release
rust-v0.169.0Nov 13, 2026, 08:37 AMDownloads slow? Switch the source anytime above
README
Project Overview
Codex CLI is a lightweight coding agent from OpenAI that runs locally on your computer. It provides a terminal interface and supports usage through ChatGPT accounts (Plus, Pro, Business, Edu, Enterprise) or API keys.
Key Features
- Lightweight terminal agent: Runs locally on the command line
- Cross-platform: Supports macOS (Apple Silicon/Intel) and Linux (x86_64/arm64)
- Multiple installation methods: curl install script, npm, Homebrew, and GitHub Releases
- ChatGPT integration: Use with ChatGPT Plus/Pro/Business/Edu/Enterprise plans
- API key support: Also usable with an API key
Target Audience
- Developers who need AI coding assistance in the terminal
- OpenAI ChatGPT subscribers
- Users who want a lightweight local coding agent
Quick Start
- macOS/Linux:
curl -fsSL https://chatgpt.com/codex/install.sh | sh - Windows:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" - npm:
npm install -g @openai/codex - Homebrew:
brew install --cask codex - Run
codexto get started
Core Advantages
- Officially built by OpenAI
- Lightweight, runs locally in the terminal
- Supports both ChatGPT subscriptions and API keys
- Cross-platform support
Release history
Sort