设置npm镜像地址

查看当前镜像地址

npm config get registry

设置官方镜像地址

npm config set registry https://registry.npmjs.org/

设置淘宝镜像地址

npm config set registry https://registry.npm.taobao.org/

评论

暂无评论