Skip to main content

Introduction

Administer and maintain your WordPress site on Pantheon with your command-line.


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.

Composer-based Sites

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.

More Resources