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

Per https://github.com/creationix/nvm/commit/199ba533403b2a3ad615d0a068a05e59e04e522d
This commit is contained in:
Jordan Harband
2014-09-13 11:37:19 -07:00
parent 199ba53340
commit f6fef75f36
+1 -1
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:
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: