Zameer Ansari

@xameeramir

Installing node.js on Windows and Ubuntu

courtesy

To get the latest Apache conrdova, one need to make sure that node.js (and npm) exists.

Download the latest node.js from http://nodejs.org/

Follow the below steps after opening the downloaded setup file:

Let the installer compute required space.

So, if we have required space:

Select destination to install node

Select which node components to install — this may be useful for server configuration

There are various ways to install node on Ubuntu, one of them is compiling and installing

Use the below commands one-line-after-the-other

$ sudo apt-get install build-essential $ wget http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz $ tar -xzf node-v0.8.16.tar.gz $ cd node-v0.8.16/ $ ./configure $ make $ sudo make install

To verify the installation:

$ node -v v0.8.16 $ npm -v 1.1.69

Yes, that’s it. Done with the task!

Photos

Originally published at xameeramir.github.io.

More by Zameer Ansari

Topics of interest

More Related Stories