title: Having trouble to find the node in ubuntu 14.04 after installing
body: <p>I installed the NodeJS in Ubuntu 14.04 by <code>nvm</code> by following this site <a href="https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server" rel="nofollow">Installing NodeJS</a>
  Though I had the following problem as </p>
  
  <pre><code>nvm ls
      sbin
  mkdir: cannot create directory ‘/usr/sbin/alias’: Permission denied
  </code></pre>
  
  <p>Then I found to resolve this as (from <a href="https://github.com/creationix/nvm/issues/433" rel="nofollow">NVM solution</a>)</p>
  
  <pre><code>$ export NVM_DIR=~/.nvm
  $ echo $NVM_DIR
  /home/roy/.nvm
  </code></pre>
  
  <p>Then It works fine.</p>
  
  <p>Now the problem, I face is that if I restart or even open a new console, I can't find the <code>node</code> again.</p>
  
  <pre><code>roy@Croy:~$ node -version
  The program 'node' can be found in the following packages:
  
   * node
  
   * nodejs-legacy
  
  Try: sudo apt-get install &lt;selected package&gt;
  </code></pre>
  
  <p>I have to follow those steps,</p>
  
  <p>I do <code>nvm install 0.11.13</code> then it shows </p>
  
  <pre><code>v0.11.13 is already installed.
  Now using node v0.11.13
  </code></pre>
  
  <p>How to come out from here ?</p>