1 设置淘宝镜像地址
bash
npm config set registry http://registry.npm.taobao.org
2 查看当前下载地址
bash
npm config get registry