diff --git a/README.markdown b/README.markdown index 4776f41..863ad91 100644 --- a/README.markdown +++ b/README.markdown @@ -6,13 +6,13 @@ First you'll need to make sure your system has a c++ compiler. For OSX, XCode w ### Install script -To install you could use the [install script](https://github.com/creationix/nvm/blob/master/install.sh) (requires Git) using cURL: +To install you could use the [install script](https://github.com/creationix/nvm/blob/v0.3.0/install.sh) (requires Git) using cURL: - curl https://raw.github.com/creationix/nvm/master/install.sh | sh + curl https://raw.github.com/creationix/nvm/v0.3.0/install.sh | sh or Wget: - wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh + wget -qO- https://raw.github.com/creationix/nvm/v0.3.0/install.sh | sh The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile` or `~/.profile`). diff --git a/nvm.sh b/nvm.sh index 4d6bbca..34dde16 100644 --- a/nvm.sh +++ b/nvm.sh @@ -188,6 +188,7 @@ nvm() { echo echo "Usage:" echo " nvm help Show this message" + echo " nvm --version Print out the latest released version of nvm" echo " nvm install [-s] Download and install a , [-s] from source" echo " nvm uninstall Uninstall a version" echo " nvm use Modify PATH to use " @@ -541,6 +542,9 @@ nvm() { "version" ) nvm_version $2 ;; + "--version" ) + echo "nvm v0.3.0" + ;; * ) nvm help ;;