‹ Articles

Getting Started with WP-CLI

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.

  1. How to Manage WordPress Users with WP-CLI

    Mange your users from the command line over SSH.
  2. How to Manage WordPress Themes with WP-CLI

    Quickly add and remove WordPress themes.
  3. How to Manage WordPress Plugins with WP-CLI

    Efficiently install, activate, and deactivate plugins individually or all at once.
  4. How to Use the Search and Replace Function of WP-CLI

    A detailed description of one of most useful, yet most advanced, features of WP-CLI.

Last updated: July 18, 2017

Still Have Questions?

Don't hesitate to contact us if you can't find the answers to your questions.