Skip to content
@wp-cli

WP-CLI

The command line interface for WordPress

WP-CLI

WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.

For announcements, follow @wpcli on X or sign up for email updates. Check out the roadmap for an overview of what’s planned for upcoming releases.

Pinned Loading

  1. wp-cli wp-cli Public

    ⚙️ WP-CLI framework

    PHP 5k 1k

  2. wp-cli-bundle wp-cli-bundle Public

    📦 WP-CLI package that bundles the framework with a set of common commands

    Gherkin 89 34

  3. wp-cli-tests wp-cli-tests Public

    WP-CLI testing framework

    PHP 42 27

  4. handbook handbook Public

    đź“– Complete documentation for WP-CLI

    PHP 206 359

  5. ideas ideas Public

    đź’ˇ Ideas and feature requests are collected here

    41 1

  6. wp-cli-dev wp-cli-dev Public

    đź›  WP-CLI development environment that allows for easy development across all packages

    PHP 41 42

Repositories

Showing 10 of 67 repositories
  • dashboard Public

    Dashboard for WP-CLI contributors

    wp-cli/dashboard’s past year of commit activity
    HTML 5 1 0 0 Updated Mar 23, 2026
  • db-command Public

    Performs basic database operations using credentials stored in wp-config.php.

    wp-cli/db-command’s past year of commit activity
    PHP 75 MIT 68 14 9 Updated Mar 22, 2026
  • extension-command Public

    Manages plugins and themes, including installs, activations, and updates.

    wp-cli/extension-command’s past year of commit activity
    PHP 91 MIT 86 6 3 Updated Mar 22, 2026
  • checksum-command Public

    Verifies file integrity by comparing to published checksums.

    wp-cli/checksum-command’s past year of commit activity
    PHP 34 MIT 27 2 1 Updated Mar 22, 2026
  • wp-cli Public

    ⚙️ WP-CLI framework

    wp-cli/wp-cli’s past year of commit activity
    PHP 5,039 MIT 1,018 33 11 Updated Mar 22, 2026
  • wp-cli-bundle Public

    📦 WP-CLI package that bundles the framework with a set of common commands

    wp-cli/wp-cli-bundle’s past year of commit activity
    Gherkin 89 MIT 34 2 5 Updated Mar 22, 2026
  • profile-command Public

    Quickly identify what's slow with WordPress

    wp-cli/profile-command’s past year of commit activity
    PHP 294 MIT 29 5 2 Updated Mar 22, 2026
  • handbook Public

    đź“– Complete documentation for WP-CLI

    wp-cli/handbook’s past year of commit activity
    PHP 206 MIT 359 2 1 Updated Mar 22, 2026
  • media-command Public

    Imports files as attachments, regenerates thumbnails, or lists registered image sizes.

    wp-cli/media-command’s past year of commit activity
    Gherkin 44 MIT 40 4 2 Updated Mar 22, 2026
  • search-replace-command Public

    Searches/replaces strings in the database.

    wp-cli/search-replace-command’s past year of commit activity
    Gherkin 59 MIT 44 12 2 Updated Mar 22, 2026