2017-02-15 2 views
3

Unter Linux verwende ich $http_proxy und $https_proxy, die gut funktioniert für node und npm aber verwendet sie nicht.nvm Proxy-Einstellungen Konfigurationsdatei

In welche Konfigurationsdatei sollte ich die Proxy-Einstellungen schreiben?

uname -a: Linux Breizh-Atao 3.19.0-32-generiC# 37 ~ 14.04.1-Ubuntu SMP Do 22. Oktober 09.41.40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Antwort

2

NVM verwendet curl, so Ändern der Datei ~/.curlrc Datei (oder es schaffen, wenn sie nicht existiert)

proxy = <proxy_host>:<proxy_port>