# npm设置为淘宝镜像
npm config set registry http://registry.npmmirror.com
# npm设置为原镜像
npm config set registry https://registry.npmjs.org/
# npm cnpm命令
npm install -g cnpm --registry=https://registry.npmmirror.com
# 查看当前npm镜像
npm config get registry
其他命令:
https://blog.csdn.net/qq575792372/article/details/122150069
npm配置
最新推荐文章于 2024-07-30 23:06:43 发布