---
title: "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."
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

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
```

## Documentation

- https://make.wordpress.org/cli/handbook/quick-start/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/wp-cli-wordpress-command-line-interface/)
