title: Installing NPM on AWS EC2
body: <p>Working on Ec2 on AWS.</p>
  
  <p>I have installed Node.js and it works fine.</p>
  
  <p>But the problem arises when trying to install npm.</p>
  
  <p>I am using the following command to install it:</p>
  
  <pre><code>sudo curl http://npmjs.org/install.sh | sh
  </code></pre>
  
  <p>But the install seems to freeze...
  I get "fetching: <a href="http://registry.npmjs.org/npm/-/npm-1.0.106.tgz" rel="noreferrer">http://registry.npmjs.org/npm/-/npm-1.0.106.tgz</a>" at the prompt and it stays on like this.</p>
  
  <p>Have any idea what is going on here?</p>