yarn相关

yarn相关命令

添加代理

修改配置

yarn config set httpProxy=http://ip:port
yarn config set httpsProxy=http://ip:port

一次性

yarn --https_proxy=http://ip:port add typescript

修改registry

修改配置

yarn config set --registry=https://registry.npm.taobao.org/

一次性

yarn --registry=https://registry.npm.taobao.org/ add typescript
上一篇:[ARC124E] Pass to Next


下一篇:lua 之 全局变量