Codex CLI is OpenAI's coding agent that runs on your computer from the terminal, with sign-in through ChatGPT plans or API keys.
Overview
Codex CLI is a lightweight coding agent from OpenAI that runs locally on your machine. You invoke the codex command after installation to start an interactive coding session in the terminal rather than in a browser-only service.
Installers are provided for Mac, Linux, and Windows, with optional package managers and platform-specific binaries from GitHub Releases. Related offerings include IDE extensions, a desktop app entry point, and a separate cloud Codex experience on ChatGPT, but this CLI product is the terminal-local variant.
Authentication can use Sign in with ChatGPT for Plus, Pro, Business, Edu, or Enterprise plans, or API keys with extra setup. The tool is distinct from editor-integrated or hosted agents and targets developers who want agent assistance in a shell workflow.
Key features
- Terminal-based coding agent
- Mac, Linux, and Windows installers
- ChatGPT plan sign-in
- Optional API key access
- GitHub Release binaries
- Package manager installs
Use cases
- Terminal coding assistance
- Local agent-driven development
- ChatGPT plan-based coding workflows
Does the same job as
Codex doesn't name these products itself, but its own description shows it does the same job.