Check, one line each, everything a command needs, and say what is wrong:
config which profile and config file are used, and where the credential
comes from (--api-key, ANONA_COMPUTE_API_KEY, ANONA_API_KEY or E2B_API_KEY, the
config file, or a browser login in the keychain or credentials.json)
api the gateway answers at the API URL (GET /healthz), and how fast
auth the gateway accepts the credential (as whoami checks it)
templates the built-in templates can be listed from the template catalog
ssh the ssh binary is on PATH (needed by ssh, scp and the MCP ssh tool)
Each check is ok, warn or fail; a check that cannot run because an earlier
one failed is skip. Exit 0 when nothing failed, 1 otherwise. --json prints
one object per check: {"check","status","detail","latency_ms"?}.
Usage
anona-compute doctor [flags]
Flags
| Flag | Type | Description |
|---|---|---|
--help, -h | help for doctor |
--api-key, --api-url, --json, --output, --profile, --request-timeout, --verbose) work on every command; see anona-compute.