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`
|
|
|
|
|
2022-10-25 11:36:45 +01:00
|
|
|
- List all remote Node.js versions:
|
|
|
|
|
|
|
|
`nvm ls-remote`
|
|
|
|
|
2021-12-27 13:32:26 +00:00
|
|
|
- Uninstall a given Node.js version:
|
|
|
|
|
|
|
|
`nvm uninstall {{node_version}}`
|