Information about the package, wp-cli, which is shipped with common Linux distributions. The wp-cli package is designed for, wp-cli 1.5.1 for WordPress.
Package Name:
wp-cli
Summary:
wp-cli 1.5.1 for WordPress
URL:
Description:
WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multi-site installs, create posts and much more.
Architecture:
noarch
Version:
1.5.1
Release:
2.2.1.cpanel
Size:
4.4 M
Repository:
installed
From Repository:
cpanel-addons-production-feed
Licence:
MIT
Control the wp-cli package with the following handy commands outlined below.
yum install wp-cli
This command will install wp-cli on the server.
yum remove wp-cli
This command will un-install wp-cli on the server. When you run this command, you will be asked if you are sure that you want to remove wp-cli, so you have to manually confirm that you want to do this.
yum -y remove wp-cli
This command will un-install wp-cli on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove wp-cli when using the -y flag.
yum update wp-cli
This command will update wp-cli to the latest version. When you run this command, you will be asked if you are sure that you want to remove wp-cli, so you have to manually confirm that you want to do this.
yum -y update wp-cli
This command will update wp-cli to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove wp-cli when using the -y flag.
yum info wp-cli
This command will show you core information about the wp-cli package.
yum deplist wp-cli
This command will show you the dependencies for wp-cli. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update wp-cli
This command will check if there is an update waiting on wp-cli. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.