1 Answer

0 votes
by

Install PhoneGap

PhoneGap provides two different flavors of installation.


<!--[if !supportLists]-->1.    <!--[endif]-->Desktop ApplicationPhoneGap desktop application provides drag and drop features of application development. install PhoneGap desktop application.

<!--[if !supportLists]-->2.    <!--[endif]-->CLIPhoneGap 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:

  1. Install PhoneGap CLI through npm.
$ npm install -g phonegap@latest
  1. Verify the installation.
$ phonegap

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.

Related questions

0 votes
    How to Creating a PhoneGAP Project?...
asked Jan 15, 2021 in Technology by JackTerrance
0 votes
    What is Push Notifications in PhoneGap?...
asked Jan 15, 2021 in Technology by JackTerrance
0 votes
    What is deviceready event in Phonegap?...
asked Jan 15, 2021 in Technology by JackTerrance
0 votes
    What are the Common events of index.js in Phonegap?...
asked Jan 15, 2021 in Technology by JackTerrance
0 votes
    Explain about the PhoneGap Project Structure?...
asked Jan 15, 2021 in Technology by JackTerrance
0 votes
    Explain about the config.xml of PhoneGap ?...
asked Jan 15, 2021 in Technology by JackTerrance
0 votes
0 votes
    Which engine powers PhoneGap? (1)Cordova (2)JavaScript (3)ART (4)Nodejs...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    Which flag of PhoneGap CLI is used to copy an existing project while using create? (1)None of the options (2)--copy (3)--cp (4)--src (5)--copy-from...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    From the App Store Connect I noticed a message telling me that from March 27, 2019 my applications will ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    I would like to ask if I require a Mac for the entire process of the iPhone app development or ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I have some app ideas that I want to release for free (with ads). I am a web developer that ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    I have built an Android App using Phonegap/HTML5/JQuery mobile. I had the option of parsing XML data ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 21, 2022 in Education by JackTerrance
0 votes
    Which of the following option is not a requirement for PhoneGap CLI? Please select the correct options from below (a)JVM (b)None of the options (c)NodeJS (d)Git...
asked Dec 11, 2020 in Education by Editorial Staff
0 votes
    Which command is used to check the version of PhoneGap CLI? Please select the correct options from below (a)All the options ... -v (d)None of the options (e)phonegap -version...
asked Dec 11, 2020 in Education by Editorial Staff
...