The PhoneGap CLI provides a command line interface for creating PhoneGap apps as an alternative to using the PhoneGap Desktop application. The PhoneGap CLI was the main tool used for creating PhoneGap apps prior to PhoneGap Desktop and contains additional features over the PhoneGap Desktop for building, running and packaging PhoneGap applications for multiple platforms. The use cases for the PhoneGap CLI will vary depending on the user and level they want to use it:
- Paired with the PhoneGap Developer App
- Paired with PhoneGap Build
More details about these use cases can be found in the Installation guide.
The PhoneGap CLI is supported on Mac and Windows.
The sections covered in this reference include:
- Installing the CLI
- Help Options
- Creating an app
- Use with PhoneGap Build
- Serving an App
- Using Templates
- Cordova-specific Commands
- Updating CLI Version
- Sending Push Notifications