1. 命令 npm config edit 通过修改txt修改文件
2. 直接通过名称 修改
npm config set registry http://registry.npm.taobao.org
3. 使用nrm配置镜像地址
npm install -g nrm
nrm use taobao