The command line interface for WordPress - called WP CLI - is installed for all hosts on Servebolt and is available when you log in to your site with SSH.

You can use WP CLI in the /public folder (where your site is) by running the wp command. The following commands lists everything the command is capable of:

cd public

WP automatically has access to your whole WordPress installation and database and no further usernames and passwords are required.

Check what WordPress core version you are running

wp core version

If your not on the latest version, make sure you upgrade by running

wp core update

You can manage, update, download, install and uninstall plugins by running varieties of the wp plugin command.

wp plugin

For example, you can install Servebolt Optimizer by running:

wp plugin install servebolt-optimizer
Was this article helpful?
Thank you!