tldr/pages/windows/nvm.md

22 lines
552 B
Markdown
Raw Permalink Normal View History

2021-12-27 13:32:26 +00:00
# nvm
> Install, uninstall, or switch between Node.js versions.
> Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc.
> More information: <https://github.com/coreybutler/nvm-windows>.
- Install a specific version of Node.js:
`nvm install {{node_version}}`
- Set the default version of Node.js (must be run as Administrator):
`nvm use {{node_version}}`
- List all available Node.js versions and highlight the default one:
`nvm list`
- Uninstall a given Node.js version:
`nvm uninstall {{node_version}}`