目录 start
目录 end
|2018-05-02| 码云 | CSDN | OSChina
bin目录
将所有的文件建立软链接到 /usr/local/bin/
目录下NODE_HOME=/home/kcp/Application/sdk/node-v8.11.1-linux-x64
export PATH=$PATH:$NODE_HOME/bin
npm --registry https://registry.npm.taobao.org install express
npm config set registry https://registry.npm.taobao.org
npm install -g cnpm --registry=https://registry.npm.taobao.org
emmm, 为什么我就配置不成功查看配置是否成功:
npm config get registry
npm install -g vue-cli --registry=https://registry.npm.taobao.org