WP-CLI: Every action, scriptable.
Komentokehote WordPressille. Selainta ei tarvita.

Scriptable by design
Minkä voit tehdä WordPress hallintapaneelissa, voit tehdä myös terminaalissa. Lataa ja päivitä lisäosia, tuo sisältöä, luo käyttäjiä, aja etsi-ja korvaa ajoja tietokantaan, päivitä tunnisteita, hallinnoi multisite-verkostoja. Pakkaa se skriptiin, ajoitettuun tehtävään tai julkaisuputken askelmaan. WP CLI tekee WordPressista jotain minkä voit automatisoida.

wp plugin
Install, activate, update

wp theme
Manage themes and child themes

wp db
Export, import, search-replace

wp user
Create, update, reset passwords

wp post
Bulk create, edit, delete content

wp core
Lataa, päivitä, todenna WordPress

wp site
Hallinnoi multisite-verkostoja

wp cron
Inspect and run scheduled events
Automatisoi mitä vain
WP-CLI fits wherever you script. Bake it into a deploy pipeline to migrate a database between environments. Wire it into a GitHub Action to verify core integrity on every pull request. Run it from cron to rotate keys, prune transients, or regenerate thumbnails at 3 a.m.
wp db export backup.sql
wp search-replace 'https://staging.example.com' 'https://example.com' --all-tables
wp cache flush
WP_CLI::add_command( 'hello', function () {
WP_CLI::success( 'Hello from WP-CLI!' );
} );
Laajenna sitä
WP-CLI is built to be extended. Write a custom command in a few lines of PHP and ship it as a plugin — or browse the community package index for one that already does what you need.
WordPress-yhteisön ylläpitämä
WP-CLI has shipped continuously since 2011, maintained by volunteers from across the WordPress ecosystem. Every release ships under public governance, and contributions take many forms — triage, docs, translation, command authorship, tests.
Built for what's next
The future of web management is autonomous, and WP-CLI is designed to lead the way. Beyond serving as a powerful interface for developers, it provides the standardized, command-driven architecture that AI agents and LLMs need to interact reliably with WordPress. By leveraging the Abilities API, AI connectors, and Model Context Protocol (MCP) support, WP-CLI turns WordPress into a fully agent-ready environment. Whether you are automating routine maintenance or building complex agentic workflows, WP-CLI provides the stable, programmable foundation required for the next generation of intelligence.
