wordpress – wp cli tools on CentOS 7

wp cli – Manage WordPress through the command-line.

(for environment without web browser)

Install the tool:

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

chmod +x wp-cli.phar; mv wp-cli.phar /usr/local/bin/wp

wp –info


wp plugins list (cmd to list all wordpress plugins installed)

wp plugin desactive easy-pricing-tables (cmd to desactive plugin)

Tool update

wp cli update

expected results:

Success: Updated WP-CLI to x.x.x


WP-CLI is at the latest version.






Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.