Skip to content

Using npm behind PROXY

Dileep Singh edited this page Nov 22, 2016 · 1 revision

This page describes how to use the npm command-line tool (for example, when downloading packages etc) behind a proxy server.

SET HTTP_PROXY=http://user:password@1.2.3.4:8080 SET HTTPS_PROXY=http://user:password@1.2.3.4:8080 npm config set registry "http://registry.npmjs.org/" npm config set strict-ssl false