paint-brush
Installing node.js on Windows and Ubuntuby@xameeramir
420 reads
420 reads

Installing node.js on Windows and Ubuntu

by Zameer AnsariDecember 25th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

<a href="https://nodejs.org/en/about/resources/" target="_blank">courtesy</a>

Company Mentioned

Mention Thumbnail
featured image - Installing node.js on Windows and Ubuntu
Zameer Ansari HackerNoon profile picture

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.