查看源 npm config get registry npm config list 换源 默认源 npm config set registry https://registry.npmjs.org 淘宝源 npm config set registry https://registry.npm.taobao.org 临时改变源 npm --registry=https://registry.npm.taobao.org