mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	[Docs] Update Installation section
1. If we are not going to install nodejs or io.js from source, we may not need to have c++ compiler or libssl-dev package 2. the `build-essential` and `libssl-dev` packages should work on all the Debian and Ubuntu based GNU/Linux distros 3. Remove useless blank lines
This commit is contained in:
		
				
					committed by
					
						 Jordan Harband
						Jordan Harband
					
				
			
			
				
	
			
			
			
						parent
						
							b879628394
						
					
				
				
					commit
					039afb9470
				
			| @@ -31,7 +31,7 @@ | |||||||
|  |  | ||||||
| ## Installation | ## Installation | ||||||
|  |  | ||||||
| First you'll need to make sure your system has a c++ compiler. For OS X, Xcode will work, for Ubuntu, the `build-essential` and `libssl-dev` packages work. | If you're running a system without prepackaged binary available, which means you're going to install nodejs or io.js from its source code, you need to make sure your system has a c++ compiler. For OS X, Xcode will work, for Debian/Ubuntu based GNU/Linux, the `build-essential` and `libssl-dev` packages work. | ||||||
|  |  | ||||||
| **Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us: | **Note:** `nvm` does not support Windows (see [#284](https://github.com/creationix/nvm/issues/284)). Two alternatives exist, which are neither supported nor developed by us: | ||||||
|  - [nvm-windows](https://github.com/coreybutler/nvm-windows) |  - [nvm-windows](https://github.com/coreybutler/nvm-windows) | ||||||
| @@ -42,8 +42,6 @@ First you'll need to make sure your system has a c++ compiler. For OS X, Xcode w | |||||||
|  - [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup |  - [fast-nvm-fish](https://github.com/brigand/fast-nvm-fish) only works with version numbers (not aliases) but doesn't significantly slow your shell startup | ||||||
|  - [plugin-nvm](https://github.com/derekstavis/plugin-nvm) plugin for [Oh My Fish](https://github.com/oh-my-fish/oh-my-fish), which makes nvm and its completions available in fish shell |  - [plugin-nvm](https://github.com/derekstavis/plugin-nvm) plugin for [Oh My Fish](https://github.com/oh-my-fish/oh-my-fish), which makes nvm and its completions available in fish shell | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| **Note:** We still have some problems with FreeBSD, because there is no official pre-built binary for FreeBSD, and building from source may need [patches](https://www.freshports.org/www/node/files/patch-deps_v8_src_base_platform_platform-posix.cc); see the issue ticket: | **Note:** We still have some problems with FreeBSD, because there is no official pre-built binary for FreeBSD, and building from source may need [patches](https://www.freshports.org/www/node/files/patch-deps_v8_src_base_platform_platform-posix.cc); see the issue ticket: | ||||||
|  - [[#900] [Bug] nodejs on FreeBSD need to be patched ](https://github.com/creationix/nvm/issues/900) |  - [[#900] [Bug] nodejs on FreeBSD need to be patched ](https://github.com/creationix/nvm/issues/900) | ||||||
|  - [nodejs/node#3716](https://github.com/nodejs/node/issues/3716) |  - [nodejs/node#3716](https://github.com/nodejs/node/issues/3716) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user