Verify the install and run a health check

getting started

// what it does

openclaw --version confirms the CLI is on PATH. openclaw doctor probes config, model auth, channels, and the gateway and prints suggested fixes, while openclaw doctor --fix applies the safe ones — file permissions, token generation, legacy config migration. openclaw health fetches the live health payload from a running gateway.

// shell

$ openclaw --version
$ openclaw doctor
$ openclaw doctor --fix

// gotcha

doctor --fix only makes safe changes; it will not restart channels or overwrite tokens you set by hand, so a red item can still need a manual edit.

// resources