Apache Cordova CLI

Clone this repo:
  1. afe6669 docs: remove plugin save command from CLI help (#559) by Mathew · 10 weeks ago master
  2. ad7fd5d dep: systeminformation@^5.5.0 (#550) by Norman Breau · 5 months ago
  3. 189ac49 Merge pull request #547 from breautek/fix/systeminformation-vuln by Norman Breau · 6 months ago
  4. a51bbbd chore(dep): systeminformation@4.34.6 by Norman Breau · 6 months ago
  5. 4476ff8 chore(pkg): remove deprecated no-op field "preferGlobal" (#535) by Raphael von der Grün · 10 months ago

Cordova CLI


Node CI codecov.io

The command line tool to build, deploy and manage Cordova-based applications.

Apache Cordova allows for building native mobile applications using HTML, CSS and JavaScript. This tool helps with management of multi-platform Cordova applications as well as Cordova plugin integration.


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 android platform:

    cordova create myApp com.myCompany.myApp myApp
    cd myApp
    cordova plugin add cordova-plugin-camera --save
    cordova platform add android --save
    cordova requirements android
    cordova build android --verbose
    cordova run android



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.

Reporting Issues

If you find issues with the Cordova CLI, please follow our guidelines for reporting issues. Please bear in mind that most of cordova-cli's functionality is implemented in cordova-lib, so that could be the place to report your issue. Platform-specific issues should be reported in the relevant repositories, such as cordova-android and cordova-ios.