- sudo apt-get install --yes build-essential curl git
- #install latest node
- sudo apt-get install --yes python-software-properties python g++ make
- sudo add-apt-repository --yes ppa:chris-lea/node.js
- sudo apt-get update
- sudo apt-get install --yes nodejs
- node -v
- sudo npm install -g phonegap
Ubuntu 12.04: How to install nodeJS and PhoneGap