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.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Wp Cli Wordpress Command Line Interface?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-wp-cli-wordpress-command-line-interface)
---
name: "WP-CLI WordPress Command Line Interface"
slug: "wp-cli-wordpress-command-line-interface"
description: "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."
github_stars: 5056
verification: "security_reviewed"
source: "https://github.com/wp-cli/wp-cli"
author: "wp-cli"
category: "WordPress & CMS"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "wp-cli/wp-cli"
github_stars: 5056
---
# 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](https://developer.wordpress.org/cli/commands/transient/delete/)) lets you delete one or...
- For a more complete introduction to using WP-CLI, read the [Quick Start guide](https://make.wordpress.org/cli/handbook/quick-start/). 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](https://make.wordpress.org/cli/handbook/installing/) ([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
## Documentation
- https://make.wordpress.org/cli/handbook/quick-start/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/wp-cli-wordpress-command-line-interface/)