Use git in manual install instructions to determine the latest release tag, rather than hardcoding it.

Per 199ba53340
master
Jordan Harband 2014-09-13 11:37:19 -07:00
parent 199ba53340
commit f6fef75f36
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ For manual install create a folder somewhere in your filesystem with the `nvm.sh
Or if you have `git` installed, then just clone it, and check out the latest version: Or if you have `git` installed, then just clone it, and check out the latest version:
git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout v0.16.0 git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
To activate nvm, you need to source it from your shell: To activate nvm, you need to source it from your shell: