The PhoneGap CLI provides a command line interface for creating PhoneGap apps as an alternative to using the PhoneGap Desktop App for those who prefer working at the command line. The PhoneGap CLI currently has some additional features over the PhoneGap Desktop for building, running and packaging your PhoneGap applications on multiple platforms. If you're comfortable using a CLI this option may be best going forward.
Is Phonegap Free
The PhoneGap CLI is the most powerful and flexible way to use PhoneGap.Built on top of Apache Cordova, you can create, serve, compile, and run apps from the comfort of your command-line terminal. Written in Node.js and distributed on npm, you can use the CLI on any platform and integrate it into any web development workflow. Download phoneGap Developer for Windows 10 for Windows to the PhoneGap Developer app is a testing utility for web developers and designers using the PhoneGap framework.
- Free phonegap download for windows 10. Development Tools downloads - PhoneGap Desktop by Adobe Systems Incorporated and many more programs are available for instant and free download.
- Actually you don't need one if you use PhoneGap Build. You only need to generate a certificate and add link to your github project. It's free for open source apps. Closed source apps are supported on PhoneGap Build but you have to pay some fee for it - still probably cheaper then Mac;-). – Nux Aug 18 '15 at 9:38.
**NOTE:** The getting started steps vary based on the initial PhoneGap tool you install here in step 1. For the rest of the steps be sure to choose either the **Desktop** or **CLI** tab at the top accordingly.
Requirements
There are a few simple requirements you'll need prior to installing the PhoneGap CLI:
- node.js - a JavaScript runtime to build your JavaScript code
- git - used in the background by the CLI to download assets. It comes pre-installed on some operating systems.
To see if you already have it installed, type
git
from the command line.Install Steps
- Install the PhoneGap CLI via
npm
with the following command from the Terminal app (Mac) or Command Prompt (Win).**TIPS:** 1) The `$` symbol is used throughout this guide to indicate the command prompt, it should not be typed. 2) `npm` is the node package manager and installed with node.js. The `npm` command fetches the necessary dependencies for the PhoneGap CLI to run on your local machine. It creates a *node_modules* folder with the necessary code needed to run the CLI. The `-g` flag specifies that folder to be installed at the global location so it can be accessed from anywhere on your machine (defaults to */usr/local/lib/node_modules/phonegap* on Mac).**OS X Users:** You may need to prefix this command with `sudo` to allow installation to restricted directories and type the following instead: `$ sudo npm install -g phonegap@latest`
**Windows 8 Users:** If you just installed Node.js, be sure to start the *Node.js Command Prompt* application specifically. - Test to ensure the PhoneGap CLI is properly installed by typing
phonegap
on the command line. You should see the followinghelp
text output displayed:**TIP:** You can access the PhoneGap CLI usage text at any time by adding the keyword `help`, or the `-h` or `--h` attribute with any phonegap command i.e.: `$ phonegap create help`, `$ phonegap serve -h`.
The PhoneGap Desktop application provides a drag and drop interface for creating PhoneGap applications. It's an alternative to using thePhoneGap CLI built for those who prefer a visual user interfaceover a command line interface approach.
**NOTE:** The getting started steps vary based on the initial PhoneGap tool you install here in step 1. For the rest of the steps be sure to choose either the **Desktop** or **CLI** tab at the top accordingly.
Select your operating system to continue:
Mac OS X Installation
- Download the latest Mac OS X Installer.
- Double-click the downloaded file to run the installer. You will initially be prompted with a license agreement to accept:
- Drag and drop the application into the Applications folder on your Mac as prompted:
- Next simply open the application and proceed to Step 2 where you will install the PhoneGap Developer App to your mobile device for previewing the apps you build.
Download Phonegap Desktop
Windows Installation
- Download the latest Windows Installer.
**NOTE:** If you're unable to run the Windows Installer for some reason, there's also a zip file available that can be used to install PhoneGap Desktop manually. Download the [zip file for the latest release](https://github.com/phonegap/phonegap-app-desktop/releases) and follow the instructions in the README and INSTALL files within the downloaded zip.
- Double click the downloaded file to run the installer. You will be prompted with the PhoneGap Desktop Setup Wizard:
- Accept the license agreement:
- Select the desired destination for the application and click Next:
- Select the desired location for the shortcut and click Next:
- Click Install to begin the installation:
- Click Finish to close the Setup Wizard:
- Next simply open the application and proceed to next step below where you will install the PhoneGap Developer App to your mobile device for previewing the apps you build.