未完
安装Node
我们选择使用nvm
安装Node.js:1
2
3
4
5
6
7// 使用cnpm的nvm mirror
curl -o- https://raw.githubusercontent.com/cnpm/nvm/master/install.sh | bash
source ~/.bash_profile
nvm list-remote
nvm install v4.4.3
nvm use v4.4.3
nvm alias default v4.4.3
安装cnpm:1
npm --registry=https://registry.npm.taobao.org install -g cnpm