Build and install nodejs, npm and cordova on Linux (debian)

A quick reminder on how to install nodejs, npm and cordova from scratch…

to complete the installation make sure you have sufficient rights to create flles in /usr/lib and /usr/bin (use sudo or su otherwise)


nodejs is a python based http engine

download nodejs sources

make install

npm is a packet manager (like pear in PHP world)

get sources then

make install

The make is made by dummies and does not detect already built files so use « make install » directly to avoid building file twice.


install cordova using the npm package manager:

npm install -g cordova