2013年10月10日星期四

Set proxy for npm behind corporate proxy

Use this line for http connections
$ npm config set proxy http://login:pass@host:port
Https connection simply use:
$ npm config set https-proxy http://login:pass@host:port

没有评论:

发表评论