Install Nodejs from standard binaries in Linux

Install Nodejs from standard binaries in Linux

In this post, i will show you how to install Node.js from standard binaries(https://nodejs.org/) in Linux.

First check your system architecture with following commands:

On my system, the above two commands gave output 64 and x86_64 respectively. This means i need to install 64-bit version of Node.js.

Now lets download the latest version of Node.js from https://nodejs.org/. The current LTS release is 4.2.2.

After file is downloaded, run the following command to install Node.js

The above command will install node & npm in “/usr/local/bin“. You can check whether its installed by typing following commands: