Administer and maintain your WordPress site on Pantheon with your command-line.Discuss in our Forum Discuss in Slack
WP-CLI is a command-line interface to WordPress. It provides a wide range of utilities for managing your WordPress site. You can use WP-CLI to complete almost any action you can perform in your WordPress Dashboard.
WP-CLI on the Pantheon Platform requires Terminus. Terminus is a command-line interface for managing your Pantheon sites, and is used to relay proxy commands from your local machine to your Pantheon environment.
You may also want to consider installing WP-CLI locally for use on your machine.
Terminus will use the version of WP-CLI that it finds in
vendor/wp-cli when running WP-CLI commands on the platform if you have a Composer-based site.