npm --registry https://registry.npm.taobao.org install express
npm config set registry https://registry.npm.taobao.org
npm config get registry
npm info express
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install express
原文:http://www.cnblogs.com/brainworld/p/7873595.html