nvm: add page (#7511)

This commit is contained in:
Reinhart Previano Koentjoro
2021-12-27 20:32:26 +07:00
committed by GitHub
parent 8cf73fcf2b
commit 59bff1c102

21
pages/windows/nvm.md Normal file
View File

@@ -0,0 +1,21 @@
# 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}}`