Install NodeJS on Ubuntu

Installing Node on Ubuntu is a bit of a faff. The actual repository doesn't really work very well (you'll need to use sudo to do anything) and so, you can use this command to install Node. It'll take a while depending on how powerful your server is, but it is all in one command. Shamelessly ripped from here

    echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc && . ~/.bashrc && mkdir ~/local && mkdir ~/node-latest-install && cd ~/node-latest-install && curl | tar xz --strip-components=1 && ./configure --prefix=~/local && make install && curl -L | sh