# cordova

> Cordova command line interface tool

Latest version **13.0.0** (published 2025-11-25) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install cordova
pnpm add cordova
yarn add cordova
bun add cordova
```

Provides the command `cordova`.

## Health

**Score 58/100 (C)** — status: stable.

Positive: has types package; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 13.0.0 |
| Published | 2025-11-25 |
| First published | 2012-07-14 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | separate (@types/cordova) |
| Module format | CommonJS |
| Node | >=20.17.0 \|\| >=22.9.0 |
| Dependencies | 9 |
| Unpacked size | 135.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 967 |
| Author | Apache Software Foundation |
| Maintainers | brodybits, dpogue, cordovaowner, stevegill, purplecabbage, anis, filmaj, bowserj, shazron, surajpindoria, erisu, niklasmerz, janpio, normanbreau, pvpoyer, shepheb, bennmapes, agrieve, mmocny, kamrik, sgrebnov, kotikov.vladimir, cmarcelk, bhiggins, brianleroux, mwbrooks, apachebuilds, timbarham |
| Keywords | cordova, client, cli |

## Links

- npm: https://www.npmjs.com/package/cordova
- Repository: https://github.com/apache/cordova-cli
- Homepage: https://github.com/apache/cordova-cli#readme
- Issues: https://github.com/apache/cordova-cli/issues
- npm.io page: https://npm.io/package/cordova

## Dependencies (9)

- [nopt](https://npm.io/package/nopt.md) ^9.0.0
- [execa](https://npm.io/package/execa.md) ^5.1.1
- [editor](https://npm.io/package/editor.md) ^1.0.0
- [semver](https://npm.io/package/semver.md) ^7.7.3
- [configstore](https://npm.io/package/configstore.md) ^5.0.1
- [cordova-lib](https://npm.io/package/cordova-lib.md) ^13.0.0
- [cordova-common](https://npm.io/package/cordova-common.md) ^6.0.0
- [cordova-create](https://npm.io/package/cordova-create.md) ^6.0.0
- [systeminformation](https://npm.io/package/systeminformation.md) ^5.27.11

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 13.0.0 (latest) — 2025-11-25
- 13.0.0-nightly.20251125002453808.sha.42e4205b (nightly) — 2025-11-25
- 5.3.3 (rc) — 2015-09-18
- 3.6.0-0.2.8 (3.6.0-0.2.8) — 2014-08-30
- 13.0.0-nightly.20251124002730160.sha.42e4205b — 2025-11-24
- 13.0.0-nightly.20251123002925586.sha.43e1f130 — 2025-11-23
- 13.0.0-nightly.20251122002424872.sha.bcdfedcf — 2025-11-22
- 13.0.0-nightly.20251121002528743.sha.bcdfedcf — 2025-11-21
- 13.0.0-nightly.20251120002524063.sha.bcdfedcf — 2025-11-20
- 13.0.0-nightly.20251119002618227.sha.cd548591 — 2025-11-19
- 13.0.0-nightly.20251118002526728.sha.cd548591 — 2025-11-18
- 13.0.0-nightly.20251117002630730.sha.cd548591 — 2025-11-17
- 13.0.0-nightly.20251116002746597.sha.cd548591 — 2025-11-16
- 13.0.0-nightly.20251115002454895.sha.cd548591 — 2025-11-15
- 13.0.0-nightly.20251114002605022.sha.cd548591 — 2025-11-14
- … 2788 more at https://npm.io/package/cordova/versions

## README

<!--
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#
-->

# Cordova CLI

[![NPM](https://nodei.co/npm/cordova.png)](https://nodei.co/npm/cordova/)

[![Node CI](https://github.com/apache/cordova-cli/workflows/Node%20CI/badge.svg?branch=master)](https://github.com/apache/cordova-cli/actions?query=branch%3Amaster)
[![codecov.io](https://codecov.io/github/apache/cordova-cli/coverage.svg?branch=master)](https://codecov.io/github/apache/cordova-cli?branch=master)

> The command line tool to build, deploy and manage [Cordova](https://cordova.apache.org)-based applications.

[Apache Cordova](https://cordova.apache.org) 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:

```bash
    c:\> npm install -g cordova
```

In your terminal on Mac OS X/Linux:

```bash
    $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:

```bash
    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

- [Overview of Cordova]
- [Create your first Cordova app] guide
- [Full reference docs for Cordova CLI][Reference docs] 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.

## 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][contribute].

## 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].

[Overview of Cordova]: http://cordova.apache.org/docs/en/latest/guide/overview/
[Create your first Cordova app]: http://cordova.apache.org/docs/en/latest/guide/cli/index.html
[Reference docs]: http://cordova.apache.org/docs/en/latest/cordova-cli/index.html
[Supported platforms]: http://cordova.apache.org/docs/en/latest/guide/support/index.html
[Project directory structure]: http://cordova.apache.org/docs/en/latest/cordova-cli/index.html#directory-structure
[Contribute]: http://cordova.apache.org/contribute/
[Reporting issues]: http://cordova.apache.org/contribute/issues.html
[cordova-lib]: https://github.com/apache/cordova-lib
[cordova-android]: https://github.com/apache/cordova-android
[cordova-ios]: https://github.com/apache/cordova-ios

---
_Source: https://npm.io/package/cordova · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
