Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

How to configure Node NPM behind proxy

Mark Chmarny edited this page Dec 18, 2013 · 1 revision

When testing your board code from behind a proxy you will need to modify NPM to use proxy when downloading packages:

npm config set strict-ssl false
npm config set registry "http://registry.npmjs.org/"
npm --proxy http://<your-domain>:<port> install <package>

To undo this change simple reverse these values

npm config set strict-ssl true
npm config set registry "https://registry.npmjs.org/"
npm install <package>
Clone this wiki locally