# 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.

- Skill: `agentskillexchange/wp-cli-wordpress-command-line-interface` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/wp-cli-wordpress-command-line-interface`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/wp-cli-wordpress-command-line-interface/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/wp-cli-wordpress-command-line-interface

---


# 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/)

