WP-CLI WordPress Command Line Interface
WP-CLI is the official command-line interface for WordPress, maintained as an open source project with extensive command docs and release history. It gives agents a reliable way to automate plugin, theme, database, transient, user, and multisite operations without driving the wp-admin UI.
Prerequisites
bun, docker, go, php, composer
Installation
Basic usage or getting-started notes:
WP-CLI also includes commands for many things you can't do in the WordPress admin. For example, wp transient delete --all (doc) lets you delete one or...
For a more complete introduction to using WP-CLI, read the Quick Start guide. Or, catch up with [shell friends](https://make.wordpress.org/cli/handbook/shell-fri...
Downloading the Phar file is the recommended installation method for most users. See the documentation for alternative installation methods ([Composer](https://ma...
Source: https://github.com/wp-cli/wp-cli
Extracted from upstream docs: https://raw.githubusercontent.com/wp-cli/wp-cli/HEAD/README.md