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
- Themes using
- Users using
- Transients using
- Object cache using
- Core using
- Cron using
- 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 purgecommand 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
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.
Give us your feedback on this article
Servebolt has launched Accelerated Domains!
Accelerated Domains is a service that greatly improves and optimizes your site on these four areas: Performance, Scalability, Security and the Carbon footprint of your website.