This is the final code in the tutorial Getting Started with Mobile App Development with PhoneGap + Yeoman + AngularJS + Ionic
This assumes you already installed the development tools as explained in the post above (PhoneGap, Android SDK, iOS Simulator)
git clone git@github.com:jesucarr/Getting-Started-PhoneGap.git
cd Getting-Started-PhoneGap
npm install
bower install
grunt build
npm run installPhoneGapPlugins
grunt serve