mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Fix a typo in the docs.
This commit is contained in:
		| @@ -12,10 +12,10 @@ Or if you have `git` installed, then just clone it: | |||||||
|  |  | ||||||
| Then add two lines to your bash profile: | Then add two lines to your bash profile: | ||||||
|  |  | ||||||
|     . $NVM_DIR/nvm.sh |     . $HOME/.nvm/nvm.sh | ||||||
|     nvm use |     nvm use | ||||||
|  |  | ||||||
| The first line loads the nvm function into your bash shell so that it's available as a command.  The second line sets your default node version to the latest released version. | The first line loads the `nvm` function into your bash shell so that it's available as a command.  The second line sets your default node version to the latest released version. | ||||||
|  |  | ||||||
| ## Usage | ## Usage | ||||||
|  |  | ||||||
| @@ -41,4 +41,6 @@ When you want to grab the latest from the node repo do: | |||||||
|  |  | ||||||
| If you want to see what versions you have installed issue: | If you want to see what versions you have installed issue: | ||||||
|  |  | ||||||
|    nvm list |    nvm list | ||||||
|  |  | ||||||
|  | If you want to install nvm to somewhere other than `$HOME/.nvm`, then set the `$NVM_DIR` environment variable before sourcing the nvm.sh file. | ||||||
		Reference in New Issue
	
	Block a user