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

ou

WP-CLI is at the latest version.