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.
To install NodeJS 4.x or 5.x and npm, run one of the install commands below, and optionally the
build-essentials package to allow you to compile and install modules.
Run lines 2-3 to install NodeJS 4.x, or lines 6-7 to install NodeJS 5.x.
If you are looking to install the Parse API Server on your Ubuntu machine, make sure you install v4.x.
To install NodeJS on other systems, visit the NodeJS website for instructions.