commit
3eb09ab984
13
nvm.sh
13
nvm.sh
|
@ -176,7 +176,7 @@ nvm() {
|
||||||
echo
|
echo
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo " nvm help Show this message"
|
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 uninstall <version> Uninstall a version"
|
||||||
echo " nvm use <version> Modify PATH to use <version>"
|
echo " nvm use <version> Modify PATH to use <version>"
|
||||||
echo " nvm run <version> [<args>] Run <version> with <args> as arguments"
|
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 " nvm copy-packages <version> Install global NPM packages contained in <version> to current version"
|
||||||
echo
|
echo
|
||||||
echo "Example:"
|
echo "Example:"
|
||||||
echo " nvm install v0.4.12 Install a specific version number"
|
echo " nvm install v0.10.23 Install a specific version number"
|
||||||
echo " nvm use 0.2 Use the latest available 0.2.x release"
|
echo " nvm use 0.10 Use the latest available 0.10.x release"
|
||||||
echo " nvm run 0.4.12 myApp.js Run myApp.js using node v0.4.12"
|
echo " nvm run 0.10.23 myApp.js Run myApp.js using node v0.10.23"
|
||||||
echo " nvm alias default 0.4 Auto use the latest installed v0.4.x version"
|
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
|
echo
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue