Install latest nodejs version in ubuntu 14.04
<p>This is the way I installed <a href="https://nodejs.org/en/">nodejs</a> in ubuntu 14.04 LTS:</p>

<pre><code>sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get install nodejs
</code></pre>

<p>When I checked the node version with this:</p>

<pre><code>node -v
</code></pre>

<p>I get this</p>

<pre><code>v0.10.37
</code></pre>

<p>But the latest version is 4.2.6 and 5.5.0. How can I get the latest or update version?</p>