← Back to Awesome

Sections

WP-CLI

GitHub repository ↗ synced 2026/8/9

Awesome WP-CLI Awesome awesome-lint

WP-CLI is the command-line interface for WordPress. It offers a complete alternative to the WordPress admin dashboard, often even surpassing its functionality or enabling new use cases. It also comes with a rich ecosystem of third-party commands that are bundled in Composer packages or directly integrated into WordPresss plugins or themes.

Official links

wp-cli.org

Homepage of the WP-CLI project.

WP-CLI handbook

Guides on how to use or extend WP-CLI.

WP-CLI command reference

Reference documentation for all the official WP-CLI commands.

Make WordPress.org - CLI

Main entry point for contributing to WP-CLI.

WP-CLI GitHub organization

Canonical home of the WP-CLI source code.

Everything relevant that is directly part of the official WP-CLI team.

  • Contributing guide - Everything you need to know to contribute to the tool or its infrastructure.
  • Official MakeWP Slack - Official Slack team where all international contributions to WordPress and its teams are discussed.
    • #cli channel - The official support channel for WP-CLI and the WordPress CLI team.
  • Good first issues - List of issues on that are limited in scope and complexity.
  • WP-CLI framework repository - The source code for the WP-CLI framework that powers all of the commands.
  • WP-CLI bundle repository - The source for the WP-CLI "binary" and how it is assembled.
  • WP-CLI tests repository - The testing framework used throughout all WP-CLI repositories.

Third-party packages

Unofficial third-party packages.

Package discovery

Packagist.org search by WP-CLI package type

Composer packages filtered by type `wp-cli-package`.

GitHub.com search for WP-CLI integrations

Heavily pre-filtered search for repositories that use `WP_CLI::add_command()`.

Ways of searching for third-party packages you can use.

Notable packages

Yoast/wp-cli-faker

Generate fake WordPress and WooCommerce content for testing purposes.

aaemnnosttv/wp-cli-login-command

Login to WordPress with secure passwordless magic links.

schlessera/wp-cli-psysh

Replace WP-CLI shell standard REPL with [PsySH](http://psysh.org/).

php-stubs/wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.

Third-party packages that are commonly useful.

Tutorials & guides

An Introduction to WP-CLI

Introductory article that introduces the main concepts and some popular use cases of WP-CLI.

Controlling WordPress through the Command Line

Introductory talk that covers the very basics of the command line for people who never used the console before.

WP Bullet WP-CLI Guides

Snippet-based guides that solve specific use cases.

Siteground Webinar: Learn How WP-CLI Can Make Your Life Easier

Practical examples on how you can improve your workflows with WP-CLI.

CaptainCore Cookbook

Collection of WP-CLI commands and bash scripts for automating WordPress maintenance.

Websites, ebooks, PDFs, talks and slide shows about how to make the most out of WP-CLI.