title: Path for nodejs and npm is different
body: <p>I am using Ubuntu 14.04LTS</p>
  
  <p>I am having nodejs(default package) at path <strong>/usr/bin/nodejs</strong></p>
  
  <p>I am having npm at path <strong>/usr/local/bin/npm</strong></p>
  
  <p>When I run npm -v It says</p>
  
  <pre><code>bash: /usr/local/bin/npm: /usr/local/bin/node: bad interpreter: No such file or directory
  </code></pre>
  
  <p>I tried installing the npm with the command below as</p>
  
  <blockquote>
    <p>$ sudo curl -L <a href="https://npmjs.org/install.sh" rel="nofollow">https://npmjs.org/install.sh</a> | sh</p>
    
    <p>% Total    % Received % Xferd  Average Speed   Time    Time     Time 
    Current
                                     Dload  Upload   Total   Spent    Left  Speed 100   193  100   193    0     0    159      0  0:00:01  0:00:01
    --:--:--   160 100  6711  100  6711    0     0   3028      0  0:00:02  0:00:02 --:--:--  8876 npm cannot be installed without nodejs. Install
    node first, and then try again.</p>
    
    <p>Maybe node is installed, but not in the PATH? Note that running as
    sudo can change envs.</p>
  </blockquote>
  
  <p>What can be done in order to run npm here?</p>