Merge pull request #330 from mibamur/patch-1

Update nvm.sh
master
Jordan Harband 2013-12-17 10:25:24 -08:00
commit 3eb09ab984
1 changed files with 8 additions and 5 deletions

13
nvm.sh
View File

@ -176,7 +176,7 @@ nvm() {
echo
echo "Usage:"
echo " nvm help Show this message"
echo " nvm install [-s] <version> Download and install a <version>"
echo " nvm install [-s] <version> Download and install a <version>, [-s] from source"
echo " nvm uninstall <version> Uninstall a version"
echo " nvm use <version> Modify PATH to use <version>"
echo " nvm run <version> [<args>] Run <version> with <args> as arguments"
@ -191,10 +191,13 @@ nvm() {
echo " nvm copy-packages <version> Install global NPM packages contained in <version> to current version"
echo
echo "Example:"
echo " nvm install v0.4.12 Install a specific version number"
echo " nvm use 0.2 Use the latest available 0.2.x release"
echo " nvm run 0.4.12 myApp.js Run myApp.js using node v0.4.12"
echo " nvm alias default 0.4 Auto use the latest installed v0.4.x version"
echo " nvm install v0.10.23 Install a specific version number"
echo " nvm use 0.10 Use the latest available 0.10.x release"
echo " nvm run 0.10.23 myApp.js Run myApp.js using node v0.10.23"
echo " nvm alias default 0.10.23 Set default node version on a shell"
echo
echo "Note:"
echo " to remove, delete or uninstall nvm - just remove ~/.nvm, ~/.npm and ~/.bower folders"
echo
;;