Installing Node.js on Linux

Posted on 20th January 2017

Download the compressed linux binaries from this link here corresponding to your version and architecture. The latest stable Linux 64 bit version at the time of writing this is 6.9.2. Extract into a suitable location. Add the path to the nodejs bin directory to your PATH variable.

A better method is to use the package manager native to your Linux distribution. For Ubuntu or Debian based distributions, use apt-get and for Red Hat or Fedora, use yum. The package managers will ensure that all the dependencies are also installed.