Title here
Summary here
Diagnose configuration issues
Run diagnostic checks on aix and platform configurations.
Validates configuration files, checks platform detection, and identifies potential issues before they cause problems.
Output modes (mutually exclusive): (default) Show errors and warnings –verbose Show all checks including passed ones –quiet No output, exit code only –json Machine-readable JSON output
Auto-fix mode: –fix Automatically fix issues where possible (e.g., file permissions)
Exit codes: 0 - All checks passed (no errors or warnings) 1 - Warnings present, no errors 2 - Errors present
aix doctor [flags] # Run standard diagnostics
aix doctor
# Show all checks including passed ones
aix doctor --verbose
# Automatically fix issues
aix doctor --fix
# Output as JSON for scripts
aix doctor --json
See Also: aix status, aix config --fix automatically fix issues where possible
-h, --help help for doctor
--json output results as JSON
--quiet suppress output, exit code only
--verbose show detailed check-by-check output --log-file string write logs to file in JSON format
--log-format string log format: text, json (default "text")
-p, --platform strings target platform(s): claude, opencode (default: all detected)