Merge 9adaf4c760 into af105894d7
This commit is contained in:
commit
7789020152
4
nvm.sh
4
nvm.sh
|
|
@ -182,6 +182,7 @@ nvm() {
|
||||||
echo " nvm alias <name> <version> Set an alias named <name> pointing to <version>"
|
echo " nvm alias <name> <version> Set an alias named <name> pointing to <version>"
|
||||||
echo " nvm unalias <name> Deletes the alias named <name>"
|
echo " nvm unalias <name> Deletes the alias named <name>"
|
||||||
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 " nvm update Updates nvm itself to the latest version in Github"
|
||||||
echo
|
echo
|
||||||
echo "Example:"
|
echo "Example:"
|
||||||
echo " nvm install v0.4.12 Install a specific version number"
|
echo " nvm install v0.4.12 Install a specific version number"
|
||||||
|
|
@ -491,6 +492,9 @@ nvm() {
|
||||||
"version" )
|
"version" )
|
||||||
print_versions "`nvm_version $2`"
|
print_versions "`nvm_version $2`"
|
||||||
;;
|
;;
|
||||||
|
"update" )
|
||||||
|
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
nvm help
|
nvm help
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue