Skip to content
Apache Cordova CLI
Branch: master
Clone or download
Latest commit 139ef16 Apr 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add or update GitHub pull request and issue template Feb 11, 2019
bin Use multi-line comment for license headers Jun 18, 2018
doc Fix typo: "esecially" to especially (#395) Jan 8, 2019
scripts Add missing license headers Sep 19, 2013
spec
src Fix `cordova config list` command (#421) Apr 11, 2019
.eslintrc.yml
.gitattributes
.gitignore CB-8129 Adds 'npm run cover' command to generate tests coverage report Dec 15, 2014
.npmignore Add coverage/ to .npmignore Jan 7, 2015
.ratignore CB-12358: updated .ratignore Jan 17, 2017
.travis.yml Check that bin/cordova works on Travis CI (#343) (#344) Sep 27, 2018
CONTRIBUTING.md CB-9800 Fixing contribute link. Oct 23, 2015
LICENSE Add a LICENSE file Feb 27, 2014
NOTICE Add NOTICE file Feb 27, 2014
README.md Update README to remove JIRA reference Aug 18, 2018
RELEASENOTES.md GH-10 Updated version and RELEASENOTES.md for release 9.0.0 Mar 20, 2019
appveyor.yml Don't do 'nightly testing' & simplify CI configs Aug 31, 2018
cordova.js Expose cordova-lib and the cli from cordova-cli Oct 23, 2014
package.json GH-10 Incremented package version to -dev Mar 20, 2019

README.md

Build status Build Status

Cordova CLI

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.

Installation

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

Docs

Contributing

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.

You can’t perform that action at this time.