Codex CLI is OpenAI's open-source command-line coding agent. It reads your repo, writes and edits code, and runs commands under your approval.
| Version | Size | Status |
|---|---|---|
| Latest | ~30 MB | Stable — official channel |
Install Node.js 22+, then run npm install -g @openai/codex. On Windows, use WSL2 for the smoothest experience.
The tool is open source and free; usage requires ChatGPT Plus/Pro sign-in or OpenAI API billing.
Run codex in a project folder and choose Sign in with ChatGPT, or export OPENAI_API_KEY for API access.
Codex excels in the OpenAI ecosystem with sandboxed execution; Claude Code is praised for long-context reasoning. Try both — both are easy to install.
No — it needs network access to call the model, though code edits are applied locally.
Set HTTPS_PROXY to a working proxy, or run it from a server with reliable access to api.openai.com.
| Claude Code | Anthropic terminal coding agent |
|---|---|
| GitHub Copilot CLI | Copilot command line |
| Aider | Git-focused AI pair programmer |
| Gemini CLI | Google's terminal agent |
License: Open source (Apache-2.0)
All software names and trademarks belong to their respective owners. This site only provides official download guidance and does not host any installers.