Codex CLI
ActiveDescription
Codex CLI is OpenAI's open-source coding-agent command-line tool for code understanding, refactoring, generation, and terminal collaboration in developer workflows.
Key Features
- Locally-running coding agent - interact with code directly in terminal for understanding, refactoring, and generation
- ChatGPT account integration - sign in with Plus/Pro/Business/Enterprise plans to use Codex
- Multi-platform installation - curl script, npm, Homebrew, and pre-built binary packages available
- IDE integration - extensions available for VS Code, Cursor, Windsurf and other editors
- Desktop app mode - launch standalone desktop experience via codex app command
Use Cases
Categories
Quick Start
# One-line install for Mac/Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
# Or install via npm
npm install -g @openai/codex
# Launch Codex CLI, choose ChatGPT sign-in
codex
# Or install via Homebrew
brew install --cask codex