GPTMap

codex doctor

The subcommand that diagnoses local Codex installation, config, auth, and runtime health; --network-only since 0.166.0.

Codex commandsopenaicodexclisubcommanddiagnostics

Specs

Verified:

Kind
CLI subcommand
Syntax
codex doctor [--network-only]
First seen
—
unverified

The official help for `codex doctor` reads "Diagnose local Codex installation, config, auth, and runtime health". 0.166.0 (2026-10-29) added `--network-only` for network-only checks. First-seen version is unverified.

Timeline

  1. 0.166.0: doctor --network-only — network checks only

Key features

  • Combined install/config/auth/runtime diagnostics
  • --network-only runs network checks alone

Use cases

First stop for broken logins, unreachable MCP servers, or sandbox misbehavior.

Install

`codex doctor` runs everything; `codex doctor --network-only` checks just networking.

Caveats

Diagnostics are local-machine view — account-side limits or bans are invisible to it.

Added

Updated

Verified

Related entries