npm config set proxy http://<proxy-server-url>:<port> npm config set https-proxy http://<proxy-server-url>:<port>
#or with passwd
npm config set proxy http://<username>:<password>@<proxy-server-url>:<port> npm config set https-proxy http://<username>:<password>@<proxy-server-url>:<port>