WP-CLI is the official command-line interface for WordPress. Created by Andreas Creten and maintained by the WordPress community, WP-CLI lets you update plugins, configure multisite installations, run database backups, manage users, and much more — without using a web browser.
It is essential tooling for hosts, agencies, and developers running WordPress at scale.
Command-line interface for WordPress. Manage sites, posts, plugins, users, options — without a browser.
✨ Features
Install WP, update core, manage plugins/themes, run cron — all from the shell.
Create users, reset passwords, bulk-edit posts, manage taxonomies and terms scriptably.
wp db export, wp db search-replace. Migrate URLs and serialized data safely.
Plugins and themes can register their own wp subcommands. Build site-specific tooling.
First-class network management. Loop over sites, run commands per site, batch operations.