Browse Source

[Fix] `--help`: Add more examples

Fixes #2120.
Naomi Quinones 5 years ago committed by Jordan Harband
parent
commit
3561bbc54a
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
  1. 5
      nvm.sh

5
nvm.sh

@ -2445,6 +2445,11 @@ nvm() { @@ -2445,6 +2445,11 @@ nvm() {
nvm_echo ' nvm alias default 8.1.0 Set default node version on a shell'
nvm_echo ' nvm alias default node Always default to the latest available node version on a shell'
nvm_echo
nvm_echo ' nvm install node Install the latest available version'
nvm_echo ' nvm use node Use the latest version'
nvm_echo ' nvm install --lts Install the latest LTS version'
nvm_echo ' nvm use --lts Use the latest LTS version'
nvm_echo
nvm_echo 'Note:'
nvm_echo ' to remove, delete, or uninstall nvm - just remove the `$NVM_DIR` folder (usually `~/.nvm`)'
nvm_echo

Loading…
Cancel
Save