>_OpenAI Codex CLI
@openai
About OpenAI Codex CLI
OpenAI’s coding agent for reading, changing, and running code directly from the terminal.
Installation
npm install -g @openai/codexDetails
What it does
Agentic code changes
Sandboxed command execution
Local repository workflows
Command examples
- 1
codex - 2
codex exec "fix the failing tests" - 3
codex --help
More AI agents CLIs
Gemini CLI
$ gemini
Google’s open-source terminal agent with Gemini models, tools, MCP support, and project context.
Claude Code
$ claude
Anthropic’s agentic coding tool for understanding codebases, editing files, and automating terminal workflows.
GitHub Copilot CLI
$ copilot
GitHub’s terminal coding agent for planning, editing, running, and reviewing changes with repository context.
Amazon Q Developer CLI
$ q
AWS’s terminal assistant for coding, shell completion, natural-language workflows, and AWS development.
Goose
$ goose
An open-source extensible AI agent that installs, executes, edits, and tests through terminal tools and MCP.
OpenCode
$ opencode
An open-source terminal coding agent with multiple model providers, sessions, tools, and LSP integration.