aix doctor

aix doctor

Diagnose configuration issues

Synopsis

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]

Examples

  # 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

Options

      --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

Options inherited from parent commands

      --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)

SEE ALSO

  • aix - Unified CLI for AI coding assistant configurations
Auto generated by spf13/cobra on 24-Jan-2026