Subcommands26 subcommands
cordova create
Create a project
cordova help
Get help for a command
cordova telemetry
Turn telemetry collection on or off
cordova config
Set, get, delete, edit, and list global cordova options
cordova config ls
Lists contents of config file
cordova config edit
Opens the config file in an editor
cordova config set
Sets the config key to the value. If value is omitted, then it sets it to "true"
cordova config get
Echo the config value to stdout
cordova config delete
Deletes the key from all configuration files
cordova info
Generate project information
cordova requirements
Checks and print out all the installation requirements for platforms specified
cordova platform
Manage project platforms
cordova platform add
Add specified platforms
cordova platform remove
Remove specified platforms
cordova platform update
Update specified platforms
cordova platform list
List all installed and available platforms
cordova plugin
Manage project plugins
cordova plugin add
Add specified plugins
cordova plugin remove
Remove plugins with the given IDs/name
cordova plugin list
List currently installed plugins
cordova prepare
Copy files into platform(s) for building
cordova compile
Compile project for platform(s)
cordova build
Build project for platform(s) (prepare + compile)
cordova clean
Cleanup project from build artifacts
cordova run
Run project (including prepare && compile)
cordova serve
Run project with a local webserver (including prepare)
OptionsOn cordova itself
-d--verbose
Pipe out more verbose output to your shell. You can also subscribe to log and warn events if you are consuming cordova-cli as a node module by calling cordova.on('log', function() {}) or cordova.on('warn', function() {})
-v--version
Print out the version of your cordova-cli install
--no-update-notifier
Will disable updates check
--nohooks
Suppress executing hooks (taking RegExp hook patterns as parameters)
--no-telemetry
Disable telemetry collection for the current command