WP-CLI is a powerful tool that allows you to use the command line over SSH to manage your WordPress installations. Everything from updating plugins to deleting comments (and much more) can be done without using a web browser. This is especially useful if you are unable to access the wp-admin area of your WordPress site.
WP-CLI is installed by default on your server managed by ServerPilot.
You can call WP-CLI by using this command as your WordPress app's system user:
You can can also configure the PHP version used when you call just the wp command.
The full list of WP-CLI commands is available in the official WP-CLI documentation.
This series will walk you through using WP-CLI to quickly and easily perform administrative tasks on your WordPress site.