Installing node.js on Windows and Ubuntu

Written by xameeramir | Published 2017/12/25
Tech Story Tags: nodejs | windows | ubuntu | linux | configuration

TLDRvia the TL;DR App

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.


Published by HackerNoon on 2017/12/25