WP-CLI terminal
WP-CLI is WordPress’s command-line tool. The panel has a terminal for it, so you can run commands without an SSH client. Open the website and go to WordPress › WP-CLI terminal.
Run a command
Section titled “Run a command”- Type the command in the box at the bottom, for example
plugin list --status=active. Thewpat the start is optional. - Press Enter or click Run.
The output appears above, marked ok or with the exit status, and how long the command took. Output stays until you clear it.
Commands run as the website’s own user, inside its files, with the website’s PHP version.
Quick commands
Section titled “Quick commands”The buttons above the output run common commands in one click:
| Button | Runs |
|---|---|
| WordPress version | wp core version |
| Plugins | wp plugin list |
| Themes | wp theme list |
| Users | wp user list |
| Home URL | wp option get home |
| Scheduled events | wp cron event list |
| Table sizes | wp db size --tables |
| Flush object cache | wp cache flush |
All of them only read, except Flush object cache.
Shortcuts
Section titled “Shortcuts”- ↑ and ↓ bring back earlier commands. The panel remembers your last 50 per website in this browser.
- Ctrl+L or Clear output clears the screen.
What isn’t available
Section titled “What isn’t available”The terminal runs one WP-CLI command at a time, without a shell. You can’t chain or pipe commands or use other shell features, and interactive commands aren’t available.
Team members who were given access to only some websites can’t run some commands that change the database or the whole site at once.
Be careful with changes
Section titled “Be careful with changes”WP-CLI changes the website directly. Commands such as plugin delete, db import or search-replace can’t be undone from the terminal. Create a backup first, or try the command on a staging copy.