Home Nodejs Npmyarn的代理方式proxy
Post
Cancel

Nodejs Npmyarn的代理方式proxy

refer to:https://stackoverflow.com/a/10304317/445908

使用npm 代理:

npm config set https-proxy http://proxy.company.com:8080

使用yarn :

yarn config set http-proxy http://192.168.0.104:8072

yarn config set https-proxy http://192.168.0.104:8072

This post is licensed under CC BY 4.0 by the author.