mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 01:45:50 +08:00 
			
		
		
		
	v0.31.3
This commit is contained in:
		| @@ -37,13 +37,13 @@ Note: If you're using `zsh` you can easily install `nvm` as a zsh plugin. Instal | ||||
| To install or update nvm, you can use the [install script][2] using cURL: | ||||
|  | ||||
| ```sh | ||||
| curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash | ||||
| curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash | ||||
| ``` | ||||
|  | ||||
| or Wget: | ||||
|  | ||||
| ```sh | ||||
| wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash | ||||
| wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash | ||||
| ``` | ||||
|  | ||||
| <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).</sub> | ||||
| @@ -394,7 +394,7 @@ If installing nvm on Alpine Linux *is* still what you want or need to do, you sh | ||||
|  | ||||
| ```sh | ||||
| apk add bash | ||||
| wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | /bin/bash | ||||
| wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | /bin/bash | ||||
| ``` | ||||
|  | ||||
| The Node project has some desire but no concrete plans (due to the overheads of building, testing and support) to offer Alpine-compatible binaries. | ||||
| @@ -425,7 +425,7 @@ After the v0.8.6 release of node, nvm tries to install from binary packages. But | ||||
| If setting the `default` alias does not establish the node version in new shells (i.e. `nvm current` yields `system`), ensure that the system's node PATH is set before the `nvm.sh` source line in your shell profile (see [#658](https://github.com/creationix/nvm/issues/658)) | ||||
|  | ||||
| [1]: https://github.com/creationix/nvm.git | ||||
| [2]: https://github.com/creationix/nvm/blob/v0.31.2/install.sh | ||||
| [2]: https://github.com/creationix/nvm/blob/v0.31.3/install.sh | ||||
| [3]: https://travis-ci.org/creationix/nvm | ||||
| [Urchin]: https://github.com/scraperwiki/urchin | ||||
| [Fish]: http://fishshell.com | ||||
|   | ||||
| @@ -11,7 +11,7 @@ nvm_install_dir() { | ||||
| } | ||||
|  | ||||
| nvm_latest_version() { | ||||
|   echo "v0.31.2" | ||||
|   echo "v0.31.3" | ||||
| } | ||||
|  | ||||
| # | ||||
|   | ||||
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -2764,7 +2764,7 @@ $NVM_LS_REMOTE_POST_MERGED_OUTPUT" | nvm_grep -v "N/A" | command sed '/^$/d')" | ||||
|       NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}" | ||||
|     ;; | ||||
|     "--version" ) | ||||
|       nvm_echo '0.31.2' | ||||
|       nvm_echo '0.31.3' | ||||
|     ;; | ||||
|     "unload" ) | ||||
|       unset -f nvm nvm_print_versions nvm_checksum \ | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "nvm", | ||||
|   "version": "0.31.2", | ||||
|   "version": "0.31.3", | ||||
|   "description": "Node Version Manager - Simple bash script to manage multiple active node.js versions", | ||||
|   "directories": { | ||||
|     "test": "test" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user