Skip to main content
Codex is OpenAI’s AI coding agent. This guide covers setup for the Codex desktop app and CLI.

Install Codex

For Codex CLI, use the setup wizard below. If it cannot find the codex command, it offers to install the official @openai/codex npm package. For the desktop app, download and install it from the OpenAI Codex page.

Configure MiniMax API

Run:
Select Codex. If Codex CLI is missing, the wizard offers to install it. Codex CLI 0.146.0 or newer is recommended. The wizard configures ~/.codex/config.toml and ~/.codex/mmx-model-catalog.json.Close Codex and any editor that has ~/.codex/config.toml open before running the wizard. This prevents another process from saving stale contents over the configuration it just wrote.Restart Codex after setup. See MiniMax CLI for command options and backup behavior.