Skip to content

Instantly share code, notes, and snippets.

@nicon-dev
Last active August 29, 2015 14:11
Show Gist options
  • Save nicon-dev/0ac5a48e9c708e96913e to your computer and use it in GitHub Desktop.
Save nicon-dev/0ac5a48e9c708e96913e to your computer and use it in GitHub Desktop.
useful cordova/phonegap commands
#show corova/phonegap versions
npm info cordova version //show current version
npm info phonegap version
#show installed plugins
cordova plugin list
#add cordova plugins
cordova plugin add *gitrepo*
#example
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
#test app with the Phonegap Developer App
cordova serve
phonegap serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment