codex

officialpopularcautionainpm

OpenAI · Coding agent, terminal code tasks, and prompted edits from the terminal.

$ npm i -g @openai/codex
One-liner to try
$ codex

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .md
Readiness
Human-first CLI · 10/100
Verify
codex --help
Agent URL
/cli/codex/agent.md

Quick reference

Installnpm i -g @openai/codex
Verifycodex --help
First commandcodex

About

The official CLI from OpenAI. Coding agent, terminal code tasks, and prompted edits from the terminal.

Example workflow

1. codex

Alternatives worth considering