Search This Blog

Tuesday, January 5, 2016

How to get npm running behind a corporate network - using proxy

E:\Tools\nodejs>npm config set proxy http://proxy:8080


E:\Tools\nodejs>npm config set https-proxy http://proxy:8080

1 comment:

  1. to delete it in case you need to run it at home and the proxy is not available do

    npm config delete proxy

    ReplyDelete