Install Codex CLI
Codex CLI is OpenAI’s AI coding command-line tool for AI-assisted coding directly in your terminal.
Set up faster with Ofox Desktop. On an Apple silicon Mac, Desktop can detect this tool, back up its current configuration, and apply an Ofox API key and compatible model. Open Ofox Desktop .
Prerequisites
- OfoxAI API Key (sign up to get one)
- Node.js (v18+ recommended)
Install
npm install -g @openai/codex
Verify Installation
codex --version
# A version number output indicates successful installation
If you see command not found, make sure Node.js is installed (node --version), then re-run the install command.
Next Steps
- Configure Model Provider — Connect OfoxAI via CC Switch
Last updated on