Nightly builds are not official releases and should not be used in production.
They are generated and published to the NPM registry around 3 PM UTC under the @nightly
dist tag.
The following NPM packages are being released as a part of the nightly builds:
Nightly builds are intended for testing purposes only—such as trying out unreleased features, verifying bug fixes, or identifying new issues before an official release.
These builds are created daily from the main branch and may be unstable. They are untested, may contain known and unknown defects, undeclared features, and perhaps other issues.
The Cordova CLI nightly build can be installed either locally (project scope) or globally.
npm install cordova@nightly npx cordova --version
npm install -g cordova@nightly cordova
Note: Installing globally will replace any existing Cordova installation.
Cordova CLI uses npm to install platforms and plugins, as they are distributed as npm packages. To install a nightly build of a platform, simply append the @nightly
tag to the platform name in the platform add
command.
For example:
cordova platform add ios@nightly
If you encounter any issues with the nightly builds, please report them to the appropriate GitHub repository.
For details on how to report issues, see the Reporting Issues guide.
When submitting, mention that the issue occurred using a nightly build and include the version by running:
cordova --version