title: How to install npm 3.10.8 on Ubuntu 16.04?
body: <p>I tried this command:</p>
  
  <pre><code>npm install npm@3.10.8
  </code></pre>
  
  <p>and I got this error:</p>
  
  <blockquote>
    <p>npm ERR! Linux 4.4.0-21-generic</p>
    
    <p>npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "npm@3.10.8"</p>
    
    <p>npm ERR! node v4.2.6</p>
    
    <p>npm ERR! npm  v3.5.2</p>
    
    <p>npm ERR! code ECONNRESET</p>
    
    <p>npm ERR! network tunneling socket could not be established, cause=socket hang up</p>
    
    <p>npm ERR! network This is most likely not a problem with npm itself</p>
    
    <p>npm ERR! network and is related to network connectivity.</p>
    
    <p>npm ERR! network In most cases you are behind a proxy or have bad network 
    settings.</p>
    
    <p>npm ERR! network </p>
    
    <p>npm ERR! network If you are behind a proxy, please make sure that the</p>
    
    <p>npm ERR! network 'proxy' config is set properly.  See: 'npm help config'</p>
    
    <p>npm ERR! Please include the following file with any support request:</p>
    
    <p>npm ERR!     /home/user/npm-debug.log</p>
  </blockquote>