title: "sh: line 1: Moved: command not found" installing npm with curl | sh
body: <p>I attempted to install <code>npm</code> on mac OSX Yosemite with the command:</p>
  
  <pre class="lang-sh prettyprint-override"><code>curl https://www.npmjs.org/install.sh | sh
  </code></pre>
  
  <p>And I received the following message: </p>
  
  <pre class="lang-none prettyprint-override"><code>% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100    51  100    51    0     0    296      0 --:--:-- --:--:-- --:--:--   298
  
  sh: line 1: Moved: command not found
  </code></pre>
  
  <p>Any suggestions on how to resolve this issue?</p>