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

nodejs is a python based http engine

download nodejs sources

./configure
make
make install
NPM

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

get sources then

./configure
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.

Cordova

install cordova using the npm package manager:

npm install -g cordova

Auteur/autrice : Chrystophe Vergnaud

Prendre du recul pour identifier les réels besoins et faire un choix technologique en fonction de ces besoins.

Laisser un commentaire