Skip to Content
IntegrationsCodex CLIInstall Codex CLI

Install Codex CLI

Codex CLI is OpenAI’s AI coding command-line tool for AI-assisted coding directly in your terminal.

Prerequisites

Install

npm install -g @openai/codex

Install Codex CLI

Verify Installation

codex --version # A version number output indicates successful installation

Verify installation

If you see command not found, make sure Node.js is installed (node --version), then re-run the install command.

Next Steps

Last updated on