mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:00:06 +08:00 
			
		
		
		
	Use bash, not sh for install scritps
Install scripts don't work in pure sh; they may work on some systems where the /bin/sh binary actually implements more than the pure Bourne Shell but fail on other ones (e.g. Ubuntu). Just using bash works.
This commit is contained in:
		| @@ -8,11 +8,11 @@ First you'll need to make sure your system has a c++ compiler.  For OSX, XCode w | ||||
|  | ||||
| To install you could use the [install script][2] using cURL: | ||||
|  | ||||
|     curl https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | sh | ||||
|     curl https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | bash | ||||
|  | ||||
| or Wget: | ||||
|  | ||||
|     wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | sh | ||||
|     wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | bash | ||||
|  | ||||
| <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user