Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 2.06 KB

File metadata and controls

64 lines (48 loc) · 2.06 KB
layout default
title wp plugin update
display_global_parameters true

Commands » plugin » update

wp plugin update - Update one or more plugins.

Quick links: Github issues


OPTIONS

[<plugin>...] : One or more plugins to update.

[--all] : If set, all plugins that have updates will be updated.

[--format=<format>] : Output summary as table or summary. Defaults to table.

[--version=<version>] : If set, the plugin will be updated to the specified version.

[--dry-run] : Preview which plugins would be updated.

EXAMPLES

$ wp plugin update bbpress --version=dev
Installing bbPress (Development Version)
Downloading install package from https://downloads.wordpress.org/plugin/bbpress.zip...
Unpacking the package...
Installing the plugin...
Removing the old version of the plugin...
Plugin updated successfully.

$ wp plugin update --all
Enabling Maintenance mode...
Downloading update from https://downloads.wordpress.org/plugin/akismet.3.1.11.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Downloading update from https://downloads.wordpress.org/plugin/nginx-champuru.3.2.0.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Disabling Maintenance mode...
Success: Updated 2/2 plugins.
+------------------------+-------------+-------------+---------+
| name                   | old_version | new_version | status  |
+------------------------+-------------+-------------+---------+
| akismet                | 3.1.3       | 3.1.11      | Updated |
| nginx-cache-controller | 3.1.1       | 3.2.0       | Updated |
+------------------------+-------------+-------------+---------+