【问题标题】:nvm proxy settings configuration filenvm 代理设置配置文件
【发布时间】:2017-02-15 08:50:40
【问题描述】:

在 Linux 下,我使用 $http_proxy$https_proxy,它们适用于 nodenpm,但 nvm 不使用它们。

代理设置应该写在哪个配置文件中?

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

【问题讨论】:

    标签: node.js nvm


    【解决方案1】:

    NVM使用curl,所以修改文件~/.curlrc文件(如果不存在则创建)

    proxy = <proxy_host>:<proxy_port>
    

    【讨论】:

      猜你喜欢
      • 2010-11-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多