mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 02:58:50 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
30
tldr/windows/nvm
Normal file
30
tldr/windows/nvm
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
|
||||
- List all remote Node.js versions:
|
||||
|
||||
`nvm ls-remote`
|
||||
|
||||
- Uninstall a given Node.js version:
|
||||
|
||||
`nvm uninstall {{node_version}}`
|
||||
Reference in New Issue
Block a user