Skip to Content
marmot
Commands

Check what marmot needs (its code generator and runtime, the go command, LLVM, the system linker), the build cache and free disk, how output is chosen here, and on macOS whether new binaries start slowly; print what to fix.

Usage
marmot doctor [flags]

Examples

marmot doctor
marmot doctor -json

Run it first when something does not work. Each check prints a status and, when it fails, the command or setting that fixes it. -json writes one doctor object per check (check, status, detail, fix) and a result.

Flags

Flags take one dash or two: -release and --release are the same.

FlagMeaning
-color stringcolor in human output: auto, always or never (NO_COLOR turns auto off) (default "auto")
-jsonmachine readable output: JSON Lines on stderr (also $MARMOT_OUTPUT=json, and the default under coding agents)

Full help

marmot doctor --help
Check what marmot needs (its code generator and runtime, the go command, LLVM, the system linker), the build cache and free disk, how output is chosen here, and on macOS whether new binaries start slowly; print what to fix.

Usage:
  marmot doctor [flags]

Examples:
marmot doctor
marmot doctor -json

Flags:
      --color string   color in human output: auto, always or never (NO_COLOR turns auto off) (default "auto")
  -h, --help           help for doctor
      --json           machine readable output: JSON Lines on stderr (also $MARMOT_OUTPUT=json, and the default under coding agents)

On this page

Was this page helpful?

Report an issueOpen issues