[toc]git
npm config set registry https://registry.npm.taobao.org # 驗證指令 npm config get registry
npm --registry https://registry.npm.taobao.org
registry = https://registry.npm.taobao.org
# 安裝 cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org # 使用 cnpm cnpm install xxx
淘寶 NPM 鏡像 : https://npm.taobao.org/
創建或使用鏡像,參考: https://github.com/cnpm/cnpmjs.orggithub