title: Cannot install NodeJs: /usr/bin/env: node: No such file or directory
body: <p>I'm trying to install nodeJs into my Ubuntu 14.04 in order to use GruntJs.</p>
  
  <p>I've read about <a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions">Ubuntu different way</a> of doing it (<a href="https://github.com/atom/atom/issues/2241">issues?</a>), so this is what I've done in order to install it:</p>
  
  <pre><code>sudo apt-get install npm
  
  sudo npm install -g grunt-cli
  </code></pre>
  
  <p>Typing grunt after that I've got the error:</p>
  
  <pre><code>/usr/bin/env: node: No such file or directory
  </code></pre>
  
  <p>So, I've tried:</p>
  
  <pre><code>curl -sL https://deb.nodesource.com/setup | sudo bash -
  
  sudo apt-get install -y nodejs
  
  sudo apt-get update
  </code></pre>
  
  <p>And trying again, and still getting the error, I've tried:</p>
  
  <pre><code>sudo add-apt-repository https://launchpad.net/~chris-lea/+archive/node.js/
  
  sudo apt-get install -y nodejs
  </code></pre>
  
  <p>I've got this message:</p>
  
  <pre><code>nodejs is already the newest version.
  0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
  </code></pre>
  
  <p>I did try a cleanup just in case:</p>
  
  <pre><code>sudo apt-get autoremove
  </code></pre>
  
  <p>But nope, the error is still there: when I type grunt I still get <code>/usr/bin/env: node: No such file or directory</code></p>
  
  <p>What should I do?</p>