sudo apt-get install g++ libssl-dev apache2-utils curl
<pre name="code" class="cpp">curl -O https://nodejs.org/dist/v4.3.2/node-v4.3.2-linux-x64.tar.gz
tar -zxvf node-v4.3.2-linux-x64.tar.gz
cd node-v4.3.2-linux-x64
./configure
make
make test
make install
</pre><pre name="code" class="cpp">
curl http://npmjs.org/install.sh | sh