nvm proxy settings configuration file

天大地大妈咪最大 提交于 2019-12-21 10:48:16

问题


Under Linux, I use $http_proxy and $https_proxy which works well for node and npm but nvm doesn't use them.

In which configuration file should I write the proxy settings?

uname -a: Linux Breizh-Atao 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


回答1:


NVM uses curl, so modifying the file ~/.curlrc file (or create it if it does not exist)

proxy = <proxy_host>:<proxy_port>


来源:https://stackoverflow.com/questions/42244572/nvm-proxy-settings-configuration-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!