mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Update the readme since $NVM_DIR's default doesn't seem to be working.
This commit is contained in:
		| @@ -12,7 +12,8 @@ Or if you have `git` installed, then just clone it: | ||||
|  | ||||
| Then add two lines to your bash profile: | ||||
|  | ||||
|     . $HOME/.nvm/nvm.sh | ||||
|     export $NVM_DIR=$HOME/.nvm | ||||
|     . $NVM_DIR/nvm.sh | ||||
|     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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user