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).
getGet one or more values.
setSet one or more values.
resetrmReset a value to its default.
docsShow 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.