title: How to setup Node.js and Npm behind a corporate web proxy
body: <p>How can I configure <code>node.js</code> and <code>npm</code> to run behind a web proxy?</p>
  
  <p>I tried the following solutions but they didn't work for me.</p>
  
  <pre><code>npm config set proxy http://proxy.company.com:8080
  </code></pre>
  
  <p>and</p>
  
  <pre><code>npm config set proxy http://username:password@proxy.company.com:8080
  </code></pre>