cnpm指令
2024年7月31日...小于 1 分钟
设置为淘宝镜像源(全局设置)
旧_淘宝镜像:https://registry.npm.taobao.org(2022年6月30号已下线)
新_淘宝镜像:https://registry.npmmirror.com
Cnpm指令
#1、查看是否安装cnpm
cnpm -v
#2、安装cnpm
npm install -g cnpm -registry=https://registry.npm.taobao.org
#3、设置cnpm 镜像地址为淘宝地址
cnpm config set registry https://registry.npm.taobao.org
#4、查看设置镜像地址
npm config get registry
#5、安装
cnpm i
Powered by Waline v3.3.2