Skip to main content

nvm doctor

Detect and fix common NVM for Windows issues.

Usage

Usage: nvm doctor [<checks> ...] [flags]

Arguments

ArgumentRequiredDescription
[checks ...]NoSpecific check names to run. When omitted, all checks run.

Flags

FlagShortDescription
--autofixApply fixes automatically when supported.
--listList available checks without running them.
--jsonStructured JSON output for automation.

Behavior

DetailDescription
BackendDelegates to sync.exe doctor
FailureOccurs if sync utility is missing or cannot be resolved
ModesFull check run, list-only, or autofix

Examples

# run all checks
nvm doctor

# enumerate available checks only
nvm doctor --list

# run selected checks
nvm doctor path proxy

# run fixes where supported
nvm doctor --autofix

# structured output for automation
nvm doctor --json

Sample output

[OK] PATH layout
[OK] Mirror reachability
[WARN] Cached metadata is stale

Verified transcript (local run)

PS> nvm doctor --help
Usage: nvm doctor [<checks> ...] [flags]

Flags:
--autofix
--list
--json

In enterprise environments, run doctor after rollout and during workstation health checks.