WP-CLI is the command-line interface for WordPress. You can update and check WordPress installations, plugins, themes, manage users and much more. It is any developer and site maintainer’s best friend.
WordPress Hosting with WP-CLI preinstalled
All Bolts, in all Servebolt Cloud locations, come with WP-CLI preinstalled. All you need to do is to navigate to the root directory of your WordPress and you’re ready to use it. We have also configured autocomplete, so all you need to do to complete a command is to click “tab”!
With WP-CLI you can manage WordPress;
- Plugins using
wp plugin
- Themes using
wp theme
- Users using
wp user
- Transients using
wp transient
- Object cache using
wp cache
- Core using
wp core
- Cron using
wp cron
- WP Profile & WP Doctor
- And much more
If you have our Servebolt Optimizer plugin installed, you can also:
- Check the full list of WP-CLI commands in our plugin manual:
wp help servebolt
- Manage the WordPress Full Page Cache using
wp servebolt html-cache
- Install the Servebolt recommended database optimizations using
wp servebolt db fix
- Enable WordPress cron to run from our servers directly:
wp servebolt cron enable
- Enable WordPress action scheduler cron to run from our servers directly:
wp servebolt action-scheduler cron enable
- If you are using Accelerated Domains or Servebolt CDN you can use the
wp servebolt cache purge
command to purge cache.
You can run WP-CLI remotely
All Bolts come with SSH access, this means that you are able to run WP-CLI remotely from your computer or another server for that matter by using the --ssh
option.
Updated and maintained by Servebolt Operations
Our Cloud Operations Team update and maintain the WP-CLI installation on all Bolts, so you don’t have to worry about it. You can also check our changelog for updates.