Install PhoneGap
PhoneGap provides two different flavors of installation.
<!--[if !supportLists]-->1. <!--[endif]-->Desktop Application
: PhoneGap desktop application provides drag and drop
features of application development. install PhoneGap desktop application.
<!--[if !supportLists]-->2. <!--[endif]-->CLI
: PhoneGap CLI is an alternative to PhoneGap desktop and provides Command Line Interface
to manage your PhoneGap applications.
Along with these flavors, you need to install PhoneGap Developer App to run/test your app during development.
Now that you have installed prerequisites, you are good to go with PhoneGap CLI.
Steps:
- Install PhoneGap CLI through npm.
$ npm install -g phonegap@latest
- Verify the installation.
You should see the following result.
Usage: phonegap [options] [commands]
Description:
PhoneGap command-line tool.
Commands:
help [command] output usage information
create <path> create a phonegap project
...
We'll be using CLI to play with PhoneGap.