Codex Manual

Codex Hub

Start from installation, choose the right Codex surface, and learn CLI, App, IDE extension, Web/Cloud, plugins, skills, XAI Router, and the GPT Image 2.6 API step by step.

OpenAI

This is a beginner-friendly Codex manual. Start with installation and your first local project, then move into configuration, permissions, XAI Router integration, and advanced capabilities.

Recommended path:

  1. Understand what Codex is.
  2. Install it for your operating system.
  3. Choose CLI, App, IDE Extension, or Web/Cloud.
  4. Complete one small task in a real project.
  5. Configure XAI Router and, when needed, generate or edit images through the Images API.
  6. Finish with safety settings and advanced workflows.

Sources checked on 2026-11-20 (against Codex CLI 0.171.0): the official OpenAI Codex documentation (now hosted at https://learn.chatgpt.com/docs, covering the CLI, desktop app, IDE, Cloud, models, authentication, sandboxing and approvals, config reference, and changelog), the openai/codex GitHub releases, OpenAI's image generation guide, and existing XAI Router articles.