Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.03 KB

File metadata and controls

41 lines (26 loc) · 1.03 KB
layout default
title wp cli update
display_global_parameters true

Commands » cli » update

wp cli update - Fetch most recent update matching the requirements. Returns the available versions if there are updates, or empty if no update available.

Quick links: Github issues


OPTIONS

[--patch] : Only perform patch updates

[--minor] : Only perform minor updates

[--major] : Only perform major updates

[--nightly] : Update to the latest built version of the master branch. Potentially unstable.

[--yes] : Do not prompt for confirmation

EXAMPLES

$ wp cli update
You have version 0.23.0. Would you like to update to 0.23.1? [y/n] y
Downloading from https://github.com/wp-cli/wp-cli/releases/download/v0.23.1/wp-cli-0.23.1.phar...
New version works. Proceeding to replace.
Success: Updated WP-CLI to 0.23.1