mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Source the nvm.sh file
Fixes #775. After everything is installed, instead of restarting the terminal, just load the nvm.sh file.
This commit is contained in:
		| @@ -227,8 +227,9 @@ nvm_do_install() { | |||||||
|   fi |   fi | ||||||
|  |  | ||||||
|   nvm_check_global_modules |   nvm_check_global_modules | ||||||
|  |    | ||||||
|   echo "=> Close and reopen your terminal to start using nvm" |   . $NVM_DIR/nvm.sh | ||||||
|  |   echo "=> You can now start using nvm" | ||||||
|   nvm_reset |   nvm_reset | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user