mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Use git in manual install instructions to determine the latest release tag, rather than hardcoding it.
Per 199ba53340
			
			
This commit is contained in:
		| @@ -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: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user