一.npm
1.设置
npm config set registry https://registry.npmmirror.com/
1
npm config set registry https://registry.npmjs.org/
1
npm install -g cnpm --registry=https://registry.npmmirror.com
1
2.查看
npm config get registry
1
3.文件
registry=https://registry.npmmirror.com/
1