mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	Install npm automatically
This commit is contained in:
		| @@ -13,10 +13,13 @@ Or if you have `git` installed, then just clone it: | |||||||
| To activate nvm, you need to source it from your bash shell | To activate nvm, you need to source it from your bash shell | ||||||
|  |  | ||||||
|     . ~/.nvm/nvm.sh |     . ~/.nvm/nvm.sh | ||||||
|  |  | ||||||
|  | I always add this line to my ~/.bashrc or ~/.profile file to have it automatically sources upon login.    | ||||||
|  | Often I also put in a line to use a specific version of node. | ||||||
|      |      | ||||||
| ## Usage | ## Usage | ||||||
|  |  | ||||||
| To download, install, and use the v0.2.5 release of node do this: | To download, compile, and install the v0.2.5 release of node do this: | ||||||
|  |  | ||||||
|     nvm install v0.2.5 |     nvm install v0.2.5 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user