mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	v0.5.0
This commit is contained in:
		| @@ -6,13 +6,13 @@ First you'll need to make sure your system has a c++ compiler.  For OSX, XCode w | |||||||
|  |  | ||||||
| ### Install script | ### Install script | ||||||
|  |  | ||||||
| To install you could use the [install script](https://github.com/creationix/nvm/blob/v0.4.0/install.sh) using cURL: | To install you could use the [install script](https://github.com/creationix/nvm/blob/v0.5.0/install.sh) using cURL: | ||||||
|  |  | ||||||
|     curl https://raw.github.com/creationix/nvm/v0.4.0/install.sh | sh |     curl https://raw.github.com/creationix/nvm/v0.5.0/install.sh | sh | ||||||
|  |  | ||||||
| or Wget: | or Wget: | ||||||
|  |  | ||||||
|     wget -qO- https://raw.github.com/creationix/nvm/v0.4.0/install.sh | sh |     wget -qO- https://raw.github.com/creationix/nvm/v0.5.0/install.sh | sh | ||||||
|  |  | ||||||
| <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> | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -592,7 +592,7 @@ nvm() { | |||||||
|         nvm_version $2 |         nvm_version $2 | ||||||
|     ;; |     ;; | ||||||
|     "--version" ) |     "--version" ) | ||||||
|         echo "nvm v0.4.0" |         echo "nvm v0.5.0" | ||||||
|     ;; |     ;; | ||||||
|     * ) |     * ) | ||||||
|       nvm help |       nvm help | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "nvm", |   "name": "nvm", | ||||||
|   "version": "0.4.0", |   "version": "0.5.0", | ||||||
|   "description": "Node Version Manager - Simple bash script to manage multiple active node.js versions", |   "description": "Node Version Manager - Simple bash script to manage multiple active node.js versions", | ||||||
|   "directories": { |   "directories": { | ||||||
|     "test": "test" |     "test": "test" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user