How to update and handy commands

This is our laundry list of command and tips we frequently visit to update or manage our apps powered by PhoneGap, AngularJS and Ionic framework.

npm install -g cordova
npm install -g ionic

ionic lib update   

ionic serve

npm install --global gulp
npm install --global gulp-cli
npm install --global gulp-util
npm install --global gulp-concat
npm install --global gulp-sass
npm install --global gulp-minify-css
npm install --global gulp-rename
npm install --global shelljs

gulp install

gulp    

npm install -g bower    

bower install angular
bower install angular-animate
bower install angular-sanitize
bower install angular-resource
bower install ngCordova    

bower update ngCordova

bower update angular    

Driven by Jasmine and Karma

npm install karma --save-dev
npm install karma-jasmine --save-dev
bower install angular-mocks#1.4.3 --save-dev

npm install -g karma-cli

npm install -g phantomjs-prebuilt