WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.


Before we begin, you must enable SSH access, to do that, follow the steps here.


Connect to your website using SSH (with password)

Step 1 (In a Terminal window), enter: ssh woouser@yourdomain.com

Step 2: When prompted, enter your SFTP-password that is listed on the website details of your website.


Using WP-CLI as woouser

Navigate to the WordPress folder that you want to use WP-CLI with.

E.g:

cd wordpress 
cd wordpress_staging (for staging sites)
cd app_1234 (for addon sites)


To use WP-CLI type:

wp-cli yourcommand

e.g:

wp-cli plugin list


If you need help, you can use the command

wp-cli --help

Or visit https://developer.wordpress.org/cli/commands/

Did this answer your question?