In Windows , using a tool called NVMW instead of NVM, while installing CNPM to directly use the Taobao Mirror, the speed is very good
$ D:
$ cd git
$ git clone https://github.com/cnpm/nvmw.git
Set path="d:\git\nvmw;%path%"
Re-open the terminal, enter NVMW to see that the command has been performed properly
Install node
NVMW Install 0.12.0
Will error download xxx failed
The solutions found online are :
The error is on "Fget.js". The next source file needs to be modified. ' Msxml2.xmlhttp ' instead of ' msxml2.serverxmlhttp ' NOTE: I am win7 64-bit system.
Source Document
Installing Iojs
$ NVMW Install iojs-1.4.2
NVMW ls
when NPM installs a package, use --registry to specify the mirror
$ NPM Install KOA--registry=http://registry.npm.taobao.org
the image of node dist
$ npm Install microtime--registry=http://registry.npm.taobao.org--disturl=http://npm.taobao.org/mirrors/node
GitHub is slow, or its resources host is blocked, and you can solve it by simply mapping the hosts:
Installing cnpm
NPM install-g cnpm--registry=http://registry.npm.taobao.org
185.31.16.184 github.global.ssl.fastly.net
Node development environment Setup (Windows)