# Codex CLI

> Lightweight coding agent that runs in your terminal

OpenAI's open-source terminal coding agent: it reads your repo, proposes and applies edits, and runs commands inside a sandbox.

- Source: https://github.com/openai/codex
- License: Apache-2.0
- Language: Rust
- Stars: 127766
- Forks: 20009
- Contributors: 669
- Last commit: 2026-10-04
- Latest release: rust-v0.160.0 (2026-10-01)
- Purpose: AI & LLM tooling, Coding assistants
- Runs on: CLI
- For: Personal, Enterprise

## Worth score: 83/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 25/25
- Momentum: 10/20
- Maintenance: 25/25
- Community: 15/15
- Readiness: 8/15

## Install

npm:

```
npm install -g @openai/codex
```

## Alternatives

- [Gemini CLI](https://diggithub.com/google-gemini/gemini-cli.md): Gemini as an agent in your terminal
- [Oh My Pi](https://diggithub.com/can1357/oh-my-pi.md): Coding agent with the IDE wired in
- [OpenCode](https://diggithub.com/anomalyco/opencode.md): Open-source coding agent for the terminal
- [Codewhale](https://diggithub.com/Hmbown/Codewhale.md): Rust coding agent for the terminal
- [Qwen Code](https://diggithub.com/QwenLM/qwen-code.md): Open-source coding agent in the terminal
- [RTK](https://diggithub.com/rtk-ai/rtk.md): Cut LLM token use on common dev commands
- [AI Website Cloner](https://diggithub.com/JCodesMore/ai-website-cloner-template.md): Clone a website with AI coding agents
- [Kilo Code](https://diggithub.com/Kilo-Org/kilocode.md): Open-source agentic engineering platform

---

Source page: https://diggithub.com/openai/codex
Updated: 2026-10-04
