# wp-cli/wp-cli

⚙️ WP-CLI framework

Repository: https://github.com/wp-cli/wp-cli
Canonical: https://ross.abutalabs.com/products/wp-cli
Homepage: https://wp-cli.org/
Language: PHP
License: MIT
License Family: permissive
Topics: wp-cli, wordpress, php, framework, cli, hacktoberfest
Last push: 2026-08-26T14:05:48+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 5471, "days_push": 7, "days_rel": 484, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5143, forks 1026 (observed 2026-08-28T04:09:11.178812+00:00)

## What it is
WP-CLI is the official command-line interface for WordPress, letting users manage plugins, themes, users, databases, and multisite installations from a terminal. It is also a PHP framework for writing custom WordPress commands that can be bundled into scripts, cron jobs, or deploy pipelines.

## Use cases
- update wordpress plugins from the command line
- run search-replace across a wordpress database
- manage wordpress multisite installations without a browser
- script wordpress site deployments in ci
- create and manage wordpress users in bulk
- export and import wordpress databases
- write custom wp-cli commands in php

## When to choose
- you administer or develop WordPress sites and want scriptable automation
- you need to manage WordPress in CI/CD pipelines or cron jobs
- you want to extend WordPress tooling with custom PHP commands

## When to avoid
- you work with non-WordPress PHP projects
- you need a GUI-based WordPress management tool
- your host does not provide shell or PHP CLI access

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools, workflow-automation, deployment
- domain: developer-tools, cms, web-development
- platform: cli, php, windows, cross-platform
- tags: wordpress, wp-cli, phar, scriptable, site-management, command-line, automation, linux, macos

## Member repositories
- wp-cli/wp-cli (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.178812+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:01:59.468610+00:00, confidence not recorded.
  - readme: https://github.com/wp-cli/wp-cli (fetched 2026-08-28T04:09:11.178812+00:00, sha 6c949643f1f3)
  - homepage: https://wp-cli.org/ (fetched 2026-08-29T08:56:37.019643+00:00, sha 0c40cdbb6159)
  - site_page: https://wordpress.org/documentation (fetched 2026-08-29T08:56:37.028626+00:00, sha bd7786ab20ae)
  - site_page: https://wordpress.org/about (fetched 2026-08-29T08:56:37.030496+00:00, sha 7beb23faf433)
  - site_page: https://make.wordpress.org/cli/handbook/guides/installing (fetched 2026-08-29T08:56:37.032205+00:00, sha e64c7687e40b)
  - site_page: https://wordpress.org/about/privacy (fetched 2026-08-29T08:56:37.034371+00:00, sha ae4fa61fc31e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
