title: Centos 7 : node: command not found
body: <p>I was installing node to my new Centos machine. I followed these steps as i needed node version 0.10 </p>
  
  <pre><code>wget http://nodejs.org/dist/v0.10.33/node-v0.10.33.tar.gz 
  tar xzvf node-v* &amp;&amp; cd node-v*
  sudo yum install gcc gcc-c++
  ./configure
  make
  </code></pre>
  
  <p>O/P of make command ended with </p>
  
  <pre><code> LINK(target) /root/node-v0.10.33/out/Release/node: Finished
  make[1]: Leaving directory `/root/node-v0.10.33/out'
  ln -fs out/Release/node node
  </code></pre>
  
  <p>Then i did  </p>
  
  <pre><code>sudo make install 
  </code></pre>
  
  <p>after that when i did <code>node --version</code> 
  it says </p>
  
  <pre><code>bash: node: command not found
  </code></pre>
  
  <p>However </p>
  
  <pre><code>whereis node gives  me this
  
  node: /usr/local/bin/node
  </code></pre>
  
  <p>Can someone please shed some light on it 
  P.S: This is the link i followed for installation 
  <a href="https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-a-centos-7-server" rel="nofollow noreferrer">https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-a-centos-7-server</a></p>
  
  <p>PPS: This is what my node-v dir look like after installation</p>
  
  <pre><code>AUTHORS    BSDmakefile  common.gypi  config.mk  CONTRIBUTING.md  doc  LICENSE   node      out        src   tools
  benchmark  ChangeLog    config.gypi  configure  deps             lib  Makefile  node.gyp  README.md  test  vcbuild.bat
  </code></pre>