Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including cordova with all npm packages installed. Try it out:

var cordova = require("cordova")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cordova v8.0.0

Cordova command line interface tool

[![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.


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.

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.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free