A CLI tool for making updating plugins in a Cordova project easier.
npm install -g cordova-plugin-update
Run the following from a valid cordova project folder (one that contains a config.xml
):
cordova-plugin-update
--all
: Shows all available plugin versions, not just ones newer that the currently installed version.--verbose
: Outputs more information (useful if you run into problems during an update).
- Only handles plugins in NPM, self hosted will just be ignored
- Can't handle interdependant plugins, e.g. Trying to update
cordova-plugin-file
will fail if thecordova-plugin-file-transfer
is also installed.