Installing Node and NPM on Ubuntu Desktop

In this post I will share how to install Node and NPM.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.


Nodejs, not Node

Keep in mind that on Ubuntu the name of the Node.js package/executable is nodejs, not node.


Installing Node and NPM using Package Manager

The easiest way to install stable versions of Node.js and NPM is using package manager. First. let’s check what versions are available

$ sudo apt-get update
$ apt-cache show nodejs
$ apt-cache show npm

At the time of writing, the current versions of nodejs and npm are 4.2.6 and 3.5.2 respectively.


Continue reading “Installing Node and NPM on Ubuntu Desktop”

Installing Node and NPM on Ubuntu Desktop