The command line tool to build, deploy and manage Cordova-based applications.
In your command-line on Windows:
c:\> npm install -g cordova
In your terminal on Mac OS X/Linux:
$sudo npm install -g cordova
Creating a new Cordova project
This simple example demonstrates how Cordova CLI can be used to create a
myApp project with the
camera plugin and run it for
cordova create myApp com.myCompany.myApp myAppcd myAppcordova plugin add cordova-plugin-camera --savecordova platform add android --savecordova requirements androidcordova build android --verbosecordova run android
- Overview of Cordova
- Create your first Cordova app guide
- Full reference docs for Cordova CLI has details of commands to add platforms, add plugins, build, package, and sign your HTML, JS apps.
- Cordova allows you to build apps for a number of platforms. Learn more about our Supported platforms.
- Project directory structure documents the details of the directory structure created by Cordova CLI.
Cordova is an open source Apache project and contributors are needed to keep this project moving forward. Learn more on how to contribute on our website.
TO-DO + Issues
If you find issues with this tool, please follow our guidelines for reporting issues. We do not use github issue system as an Apache project, we have a JIRA issue management system which covers over 30+ cli, platform, plugin repos in the Cordova project. Use the "CLI" component for Cordova CLI issues. However, most of the functionality of Cordova CLI is implemented in cordova-lib npm module. You can also use "CordovaLib" component to file issues.