codex
SHA-256OpenAI's lightweight coding agent that runs locally in your terminal, with no IDE dependency and seamless ChatGPT integration.
Smart Download
Download Download Version
vrust-v0.144.6 · 430.3 MB
A lightweight, terminal-native coding agent from OpenAI that runs locally and integrates with ChatGPT plans.
Core Features
- Runs entirely in the terminal — no IDE or GUI needed
- Local execution: code never leaves your machine
- Cross-platform: macOS, Linux, Windows
- Install via npm, Homebrew, or direct binary download
- Integrates with ChatGPT plans (Plus, Pro, Business, Edu, Enterprise)
What It Can't Do
- •Requires a ChatGPT account or API key; free users may have limited access
- •Currently only supports macOS, Linux, and Windows
- •Network is needed for authentication and model calls (code runs locally)
- •Users accustomed to IDE-based tools like Cursor or Copilot may need time to adapt to pure terminal interaction
Use Cases
- Developers who prefer terminal workflow and want AI assistance without opening an IDE
- Users needing offline-friendly or privacy-conscious coding help
- Automation in CI/CD pipelines with lightweight scriptable agent
Detailed Introduction
Codex CLI is a free, open-source (Apache-2.0) coding agent developed by OpenAI that executes entirely on your local machine via the command line. Unlike cloud-only tools or heavy IDE plugins, Codex CLI provides instant AI code completions, debugging help, and file operations right in your terminal — no GUI required. It supports macOS, Linux, and Windows, and can be installed via package managers like npm or Homebrew. For ChatGPT subscribers (Plus, Pro, Business, Edu, Enterprise), signing in unlocks the full model and priority features. Compared to Cursor or GitHub Copilot's cloud-dependent approach, Codex CLI is lighter (no IDE overhead), more privacy-friendly (local execution by default), and directly accessible from any terminal session. It also offers a web version and desktop app for those who prefer a graphical interface.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Open terminal (Mac/Linux) and run 'curl -fsSL https://chatgpt.com/codex/install.sh | sh'
Or run 'npm install -g @openai/codex' (requires Node.js)
After installation, simply type 'codex' to start
- Open terminal (Mac/Linux) and run 'curl -fsSL https://chatgpt.com/codex/install.sh | sh'
- Or run 'npm install -g @openai/codex' (requires Node.js)
- After installation, simply type 'codex' to start
SHA-256 checksum verified
Checksum extracted from GitHub official Release page
SHA256 Checksum
ec5d0e03fd1e2e57357625c08341153eb0085912cbe2fe7d08c61bf493311e92This checksum is extracted from the GitHub Release page. Verify file integrity after download.
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
If installed via npm: run 'npm uninstall -g @openai/codex'. If via Homebrew: run 'brew uninstall --cask codex'. For manual binary, just delete the downloaded file.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Similar Projects
opencode
OpenCode is a free, open-source AI coding agent that helps you write, refactor, and understand code. It offers two built-in modes: a full-access 'build' agent for active coding and a read-only 'plan' agent for safe exploration.
lazygit
A simple terminal UI for git commands
openinterpreter
Open Interpreter is a Rust-based coding agent optimized for low-cost models, with harness emulation and native sandboxing across all major OS.