Skip to main content

nvm env

Display environment details used by NVM for Windows.

Usage

Usage: nvm env [flags]

Arguments

This command takes no arguments.

Flags

FlagShortDescription
--jsonFull diagnostic report as JSON.

Report sections

SectionContents
ComputerWindows version/build, shell, admin and developer mode
InstallationNVM version, install path, upgrade policy
Version managementMode, active version, install/cache roots, sizes and counts
MirrorsNode and npm mirror URLs and reachability
LicenseOptional license summary when available

Examples

# human-readable diagnostics
nvm env

# machine-readable report for tooling/support
nvm env --json

# save to file for ticket attachment
nvm env --json > nvm-env.json

Sample output

NVM For Windows
├─ Version : v2.0.0-alpha.1
├─ Status : on
├─ Operating Mode : shim
└─ Installed Versions : 4

Verified transcript (local run)

PS> nvm env --help
Usage: nvm env [flags]

Flags:
--json Output in JSON format.

Use this command when troubleshooting path, root, and runtime behavior.