展开

npm yarn

最后发布时间 : 2024-04-20 23:55:25 浏览量 :
 npm install -g yarn

查看当前源

npm config get registry
yarn config get registry

设置为淘宝源

npm config set registry https://registry.npm.taobao.org
yarn config set registry https://registry.npmmirror.com

yarn config set "strict-ssl" false -g