title: node: command not found on Debian
body: <p>So, I'm working on a mac and as webserver, I got Debian 8 installed. However, I'm currently working on a node application which I developed on my localhost most of the time, where everything works fine - I can use <code>node index.js</code> without issues.</p>
  
  <p>However, I installed node on my webserver via the recommendation of the node.js website, which is ...</p>
  
  <pre><code>sudo apt-get install -y nodejs
  </code></pre>
  
  <p>... which didn't throw any errors. After that, I could use the npm command. But when I try to execute <code>node index.js</code>, I receive <code>bash: node: command not found</code>. Also, node is not installed in my <code>/usr/local/bin</code> folder. So I can't even run in via <code>/usr/local/bin/node</code> which was recommended <a href="https://stackoverflow.com/questions/13593902/node-command-not-found">here</a>.</p>
  
  <p>So what exactly did I do wrong? I'm rather confused right now and really don't know how to fix the problem.</p>