How to Install Older Versions of NodeJS for Linux Users

In this article I have discussed how to install any older version of nodejs for Linux users. Here’s how to do that in Ubuntu 16.04 and I often need to install v0.12.7 versions of Node.

  • Have to install some dependencies
$ sudo apt-get install wget build-essential
  • After that grab the Node version you want to install. In here I have used Node v0.12.7.
$ wget http://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
$ tar -xvf node-v0.12.7.tar.gz
$ cd node-v0.12.7
$ ./configure
$ make  # It'll take few minutes
$ sudo make install # Make user to use sudo

Then you can just check your new Node and npm versions.

error3

 

 

 

 

 

 

 

 

 

 

 

 

 

Leave a Reply

Your email address will not be published.