wp cli 如何更新到最新的版本
wp cli 是 wordpress 的命令行管理工具,使用非常方便。wp cli update 可以把 wp cli 更新到最新的版本
sudo wp cli update
sudo wp cli update
You have version 2.4.0. Would you like to update to 2.5.0? [y/n] y
Downloading from https://github.com/wp-cli/wp-cli/releases/download/v2.5.0/wp-cli-2.5.0.phar...
md5 hash verified: 20ab512b12d766a2d2f51cc8f5c43411
New version works. Proceeding to replace.
Success: Updated WP-CLI to 2.5.0.