Claude Code vs Codex CLI
In short
Claude Code vs Codex CLI: both are coding tools on Scriptiii AI Tools. Claude Code pricing: Paid. Paid plans only. (reported by the maker) Codex CLI pricing: Free. Free to use. (reported by the maker) Both have 0 upvotes.
- Claude Code
- Paid. Paid plans only. (reported by the maker)
- Codex CLI
- Free. Free to use. (reported by the maker)
- Upvotes
- 0 vs 0
| Field | Claude Code | Codex CLI |
|---|---|---|
| Page | Claude Code | Codex CLI |
| Pricing (maker-reported) | Paid. Paid plans only. | Free. Free to use. |
| Upvotes | 0 | 0 |
| Best for | ai-agents, coding-agent, terminal-agent | terminal-agent, ai-agents, coding-agent |
| Tagline | Anthropic agentic coding tool for the terminal, IDE and web that edits code and runs commands. | OpenAI lightweight coding agent that runs locally in the terminal. |
| Website | Visit Claude Code | Visit Codex CLI |
Pricing and pricing details come from the maker's submission. They are not independently verified.
Claude Code
Claude Code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows -- all through natural language commands. Use it in your terminal, IDE, or tag @claude on Github.
Learn more in the official documentation.
Get started
[!NOTE]
Installation via npm is deprecated. Use one of the recommended methods below.
For more installation options, uninstall steps, and troubleshooting, see the setup documentation.
-
Install Claude Code:
MacOS/Linux (Recommended):
curl -fsSL https://claude.ai/install.sh | bashHomebrew (MacOS/Linux):
brew install --cask claude-codeWindows (Recommended):
irm https://claude.ai/install.ps1 | iexWinGet (Windows):
winget install Anthropic.ClaudeCodeNPM (Deprecated):
npm install -g @anthropic-ai/claude-code -
Navigate to your project directory and run
claude.
Plugins
Anthropic's Claude Code plugins are developed in claude-plugins-official. See the plugins directory for more about plugins.
Reporting Bugs
We welcome your feedback. Use the /bug command to report issues directly within Claude Code, or file a GitHub issue.
Connect on Discord
Join the Claude Developers Discord to connect with other developers using Claude Code. Get help, share feedback, and discuss your projects with the community.
Data collection, usage, and retention
When you use Claude Code, we collect feedback, which includes usage data (such as code acceptance or rejections), associated conversation data, and user feedback submitted via the /bug command.
How we use your data
See our data usage policies.
Privacy safeguards
We have implemented several safeguards to protect your data, including limited retention periods for sensitive information, restricted access to user session data, and clear policies against using feedback for model training.
For full details, please review our Commercial Terms of Service and Privacy Policy.
Codex CLI
Codex CLI is a coding agent from OpenAI that runs locally on your computer.
If you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE.
If you want the desktop app experience, run codex app or visit the Codex App page.
If you are looking for the cloud-based agent from OpenAI, Codex Web, go to chatgpt.com/codex.
Quickstart
Installing and running Codex CLI
Run the following on Mac or Linux to install Codex CLI:
curl -fsSL https://chatgpt.com/codex/install.sh | sh
Run the following on Windows to install Codex CLI:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
The standalone installers download from https://releases.openai.com/codex by default and fall back to GitHub Releases if a metadata or asset download is unavailable. To force GitHub Releases, set CODEX_INSTALLER_USE_RELEASES_OPENAI_COM to false (0 and no are also accepted):
curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_INSTALLER_USE_RELEASES_OPENAI_COM=false sh
$env:CODEX_INSTALLER_USE_RELEASES_OPENAI_COM='false'; irm https://chatgpt.com/codex/install.ps1 | iex
Codex CLI can also be installed via the following package managers:
## Install using npm
npm install -g @openai/codex
## Install using Homebrew
brew install --cask codex
Then simply run codex to get started.
You can also go to the latest GitHub Release and download the appropriate binary for your platform.
Each GitHub Release contains many executables, but in practice, you likely want one of these:
- macOS
- Apple Silicon/arm64:
codex-aarch64-apple-darwin.tar.gz - x86_64 (older Mac hardware):
codex-x86_64-apple-darwin.tar.gz
- Apple Silicon/arm64:
- Linux
- x86_64:
codex-x86_64-unknown-linux-musl.tar.gz - arm64:
codex-aarch64-unknown-linux-musl.tar.gz
- x86_64:
Each archive contains a single entry with the platform baked into the name (e.g., codex-x86_64-unknown-linux-musl), so you likely want to rename it to codex after extracting it.
Using Codex with your ChatGPT plan
Run codex and select Sign in with ChatGPT. We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Business, Edu, or Enterprise plan. Learn more about what's included in your ChatGPT plan.
You can also use Codex with an API key, but this requires additional setup.
Docs
This repository is licensed under the Apache-2.0 License.
Questions
- How do Claude Code and Codex CLI differ on price?
- Claude Code is Paid. Paid plans only. (reported by the maker) Codex CLI is Free. Free to use. (reported by the maker)
- Which has more upvotes, Claude Code or Codex CLI?
- Both have 0 upvotes.
- What does each maker say Claude Code and Codex CLI are for?
- Claude Code: Anthropic agentic coding tool for the terminal, IDE and web that edits code and runs commands. Codex CLI: OpenAI lightweight coding agent that runs locally in the terminal.
Claude Code alternatives·Codex CLI alternatives·All coding tools