Skip to main content

nvm config

View and manage NVM for Windows configuration values.

Alias: cfg

Usage​

Usage: nvm config (cfg) <command>

Subcommands​

SubcommandAliasesDescription
listlsList all configuration values (default).
get—Get one or more values.
set—Set one or more values.
resetrmReset one value or reset all to restore defaults (preserves root).
docs—Show setting explanations.

config set value formats​

TypeAccepted valuesExamples
Booleantrue, false, 1, 0auto_install=true
ListComma-delimitedauto_detect=.nvmrc,.node-version,package.json
URLScheme and host requirednode_mirror=https://nodejs.org/dist
Modeshim or link onlymode=shim
Certified Builds

Some settings are policy-managed when a Governance license honors the Policies hive; writes are blocked for those keys. Without Governance, Policies values are ignored. Community installs are not subject to HKLM policy locks.

Notes​

  • config set mode=... routes through the same path as nvm use shim|link.
  • config set disable_announcements=... also updates scheduled task state.
  • Secret values (like access_token) are masked in display output. access_token is for Certified Builds commercial licensing, not Community.