DOCS / CLI REFERENCE

cluck doctor

Diagnoses problems with your install, network, credentials, and project.

Synopsis

cluck doctor [--production]

Description

Diagnoses problems with your install, network, credentials, and project. The first thing to run when something feels off.

Options

FlagDescription
--productionRun production-readiness checks
--fixAttempt to fix issues automatically
--jsonMachine-readable output

All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.

Example

$ cluck doctor
✔ CLI 4.2.1
✔ Auth valid
✗ Port 4747 in use (try --port)

Exit codes

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Used in guides

Common errors

Related commands