Articles tagged with linux

Installing Apache Cordova on BunsenLabs Linux

Apache Cordova header image

Installing Cordova wasn't straightforward, so I wrote up what worked for me.

First install Nodejs and create a symlink because it gets installed as nodejs rather than node.

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node

NPM is thankfully in the debian repos:

sudo apt-get install npm
sudo apt-get install -y build-essential

Install Cordova using NPM and create your first project:

sudo npm ☞