mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	Use bash, not sh for install scritps - followup to #450
This commit is contained in:
		| @@ -16,7 +16,7 @@ or Wget: | |||||||
|  |  | ||||||
| <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub> | <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub> | ||||||
|  |  | ||||||
| You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR` and `PROFILE` variables. Eg: `curl ... | NVM_DIR=/usr/local/nvm sh` for a global install. | You can customize the install source, directory and profile using the `NVM_SOURCE`, `NVM_DIR` and `PROFILE` variables. Eg: `curl ... | NVM_DIR=/usr/local/nvm bash` for a global install. | ||||||
|  |  | ||||||
| <sub>*NB. The installer can use Git, curl, or wget to download NVM, whatever is available.*</sub> | <sub>*NB. The installer can use Git, curl, or wget to download NVM, whatever is available.*</sub> | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user