WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installs and much more, without using a web browser. Also you can use wp-cli for cron automations.
Installation of WP-CLI
1 2 3 4 | curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar php wp-cli.phar --info chmod +x wp-cli.phar mv wp-cli.phar /usr/local/bin/wp |
Install updates for WP-CLI itself
wp --allow-root cli update |
Update WordPress core
wp --allow-root core update |
List all installed plugins
wp --allow-root plugin list |
Install Update for Plugin X-plugin
wp --allow-root plugin update x-plugin |
Leave a Reply