[关闭]
@semanticyong 2017-04-26T10:10:07.000000Z 字数 283 阅读 619

nodejs

未分类


查看 nodejs 版本

  1. node -v

Install Node.js on an Ubuntu

  1. sudo apt-get update
  2. sudo apt-get install -y nodejs
  3. sudo apt-get install -y npm

墙内使用 nodejs

两种方法,建议用第一种

  1. npm config set registry https://registry.npm.taobao.org

或者

  1. npm install -g cnpm --registry=https://registry.npm.taobao.org

查看 npm 版本

npm -v

参考

http://npm.taobao.org/

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注