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

Some settings are policy-managed; writes are blocked when policy controls the value.

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.