mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	[Docs] Add manual upgrade instructions to README.markdown
This commit is contained in:
		
				
					committed by
					
						 Dwayne R. Crooks
						Dwayne R. Crooks
					
				
			
			
				
	
			
			
			
						parent
						
							1ba8a96ec9
						
					
				
				
					commit
					1e1a005a53
				
			| @@ -55,6 +55,12 @@ Add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it | |||||||
|     export NVM_DIR="$HOME/.nvm" |     export NVM_DIR="$HOME/.nvm" | ||||||
|     [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm |     [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | ||||||
|  |  | ||||||
|  | ### Manual upgrade | ||||||
|  |  | ||||||
|  | For manual upgrade with `git`, change to the `$NVM_DIR`, pull down the latest changes, and check out the latest version: | ||||||
|  |  | ||||||
|  |     cd "$NVM_DIR" && git pull origin master && git checkout `git describe --abbrev=0 --tags` | ||||||
|  |  | ||||||
| ## Usage | ## Usage | ||||||
|  |  | ||||||
| You can create an `.nvmrc` file containing version number in the project root directory (or any parent directory). | You can create an `.nvmrc` file containing version number in the project root directory (or any parent directory). | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user