1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 13:35:32 +02:00

nvm.fish: add page (#7512)

This commit is contained in:
Reinhart Previano Koentjoro 2022-01-07 03:43:49 +07:00 committed by GitHub
parent 8013703e70
commit 6a483fda57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
pages/common/nvm.fish.md Normal file
View file

@ -0,0 +1,25 @@
# nvm
> Install, uninstall, or switch between Node.js versions under the `fish` shell.
> Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc.
> More information: <https://github.com/jorgebucaran/nvm.fish>.
- Install a specific version of Node.js:
`nvm install {{node_version}}`
- Use a specific version of Node.js in the current shell:
`nvm use {{node_version}}`
- Set the default Node.js version:
`set nvm_default_version {{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}}`