If you’re looking to install the latest version of NodeJS on your Ubuntu 14 LTS server, you’ll find that the default package manager only has access to older versions of NodeJS. However, you can easily update apt-get to get the latest version using this tutorial.
AWS: Install NodeJS 4.x or 5.x on Ubuntu 14
1