Complete guide to installing and using Codex CLI inside your development environment.
npm install -g @openai/codex
brew install codex
codex
Sign in when prompted.
npm i -g @openai/codex@latest
codex "review repo" codex "fix errors" codex "add logging"
Ensure billing is active if using API workflows.
node -v