cPanel’s WP Toolkit command-line interface lets a server administrator inspect and manage registered WordPress installations. This guide shows how to select a site and run a read-only WordPress command against it.

Check the toolkit

You need a cPanel server with WP Toolkit installed and administrator access through SSH or WHM Terminal. These are toolkit administration commands; ordinary WP-CLI tasks should normally run as the website’s account user.

command -v wp-toolkit
wp-toolkit --help

If the command is missing, check the installed extension and server configuration before continuing.

Find the installation

List registered installations:

wp-toolkit --list

Confirm the site’s domain and installation ID. To inspect installation ID 1:

wp-toolkit --info -instance-id 1

Replace 1 with the actual ID. Do not assume IDs are the same across servers.

Run a WordPress command

To list that site’s plugins:

wp-toolkit --wp-cli -instance-id 1 -- plugin list

The double hyphen separates toolkit options from the WordPress command.

For command-specific help:

wp-toolkit --help -command wp-cli

Check the installed version’s help before changing a site. Keep a current backup and select the correct installation before using update, configuration or deletion commands.