安装和使用 yarn,使用国内镜像加速 npm 和 yarn
最编程
2024-03-12 21:56:09
...
安装yarn
https://yarnpkg.com/lang/zh-hans/docs/install/
使用国内镜像加速npm和yarn
1. npm config set registry=https://registry.npm.taobao.org
2. yarn config set registry https://registry.npm.taobao.org
3. 下载cnpm:npm install -g cnpm --registry=https://registry.npm.taobao.org
上一篇: 信息系统安全与对策 - 作业 2