PhoneGap – Open Source Mobile App Development Framework

By Software Levi

We have gone through one more Open Source Mobile App Development Framework in our previous article i.e Ionic Framework. You can check this article at Open Source Mobile App Development Framework – Ionic.


PhoneGap is an open source distribution of Adobe Cordova which allows developing your mobile app using web development technologies such as HTML, CSS, and JavaScript in just a few minutes. If you don’t want to work from the command line, PhoneGap does offer a desktop app as well which is only available for macOS and Windows. The desktop app uses the same libraries as the CLI, but it makes it somewhat less overwhelming for those who prefer a more point and click-friendly method of app development.

It includes the following:

  • PhoneGap Developer is a mobile app to connect your devices to your development machine (to see changes you make instantly).
  • PhoneGap Build enables you to get app-store ready apps without having to maintain native SDKs for each mobile environment.
  • Third party tools are where you can find extra tools, created by the PhoneGap community, to help test, debug, and manage apps.
  • Developer community allows you to connect to thousands of developers working with PhoneGap.
  • Mobile App helps you pair your mobile device to the desktop app, so you can preview your new app.
  • Plugin Library gets you to access to a robust library of plugins to extend the capability of your mobile apps.


How to install PhoneGap CLI tool?

To install the CLI tool, you’ll need node.js and npm installed on your system.

To install Node.js and npm run commands as follows:

  1. Open a terminal window.
  2. Issue the command sudo apt install curl
  3. Add the necessary repository with the command curl -sL | sudo bash –
  4. Install node.js and npm with the command sudo apt install nodejs


Now, you can install the PhoneGap CLI tool with the command given below:

sudo npm install -g phonegap@latest

Once you’ve installed the CLI, run the command phonegap to see the help file as shown in below image.

PhoneGap - Open Source Mobile App Development Framework

You might run into permission issues while running the above command. To fix it, run the command as follows:

sudo chown -R USER:USER ~/.config/configstore

Where USER is your Linux server username.

Now you can start with creating your first project using the following command:

phonegap create PROJECT_NAME

Where PROJECT_NAME is a unique name of your project.

To get more information about how to use the PhoneGap CLI, please check out this reference.


PhoneGap and Ionic both the tools, however, can be thought of as a great launching point to help you begin with your mobile development journey.