WP-CLI

A command line interface for WordPress

wp-cli/package-index Package Index

WP-CLI packages are community-maintained commands you can install with wp package install (doc).

There are a few advantages to distributing custom commands as packages, instead of bundling them in plugins:

See the commands cookbook for learning how to write your own command. For a non-exhaustive list of commands available in plugins, please see the tools page.

Publish your own package by submitting it to the package index.


Filter by package name:

10up/mu-migration

A set of WP-CLI commands to support the migration of single WordPress instances to multisite

Homepage https://github.com/10up/MU-Migration
License MIT
Authors Nícholas André
Releases dev-develop, dev-master, dev-feature/behat-tests, dev-feature/filter-process-args, dev-feature/cleanup

alleyinteractive/wp-doc-command

View PHPDoc of any class, method, property, or function.

Homepage https://github.com/alleyinteractive/wp-doc-command
License MIT
Releases dev-main

billerickson/wp-cli-plugin-install-missing

Install any plugins that are active but missing.

Homepage https://github.com/billerickson/wp-cli-plugin-install-missing
License MIT
Releases dev-master

binarygary/db-checkpoint

Create quick db snapshots for development purposes.

Homepage https://github.com/binarygary/db-checkpoint
License MIT
Authors Gary Kovar
Releases 0.2.1, 0.2.0.x-dev, 0.2.0, 0.1.1, 0.1.0, dev-master, dev-feature/add-functional-test

boonebgorges/wp-cli-git-helper

Git helper for wp-cli core, plugin, and theme commands

Homepage https://github.com/boonebgorges/wp-cli-git-helper
License MIT
Authors Boone B Gorges
Releases 0.1.x-dev, 0.1.0, dev-master

brightoak/wp-cli-envoyer

A command to invoke a deployment via envoyer using the DEPLOY_URL environment variable

Homepage https://github.com/brightoak/wp-cli-envoyer
Releases dev-master

buddypress/wp-cli-buddypress

WP-CLI Community Package of BuddyPress commands

Homepage https://github.com/buddypress/wp-cli-buddypress
License MIT
Authors The BuddPress Contributors
Releases 2.0.1, 2.0, 1.8, 1.7, 1.6, 1.5, 1.1.1, 1.1.0, 1.0.0, dev-master, dev-dependabot/composer/rmccue/requests-1.8.0

c10b10/wp-cli-deploy

Deploys the local WordPress database or the uploads directory to a remote server using ssh.

Homepage https://github.com/c10b10/wp-cli-deploy
License MIT
Authors Alex Ciobica
Releases v1.0.0, dev-dev, dev-master

ernilambar/database-command

Tool to reset WordPress database. This reset WP database but retains given administrator user account.

Homepage https://github.com/ernilambar/database-command
License MIT
Authors Nilambar Sharma
Releases v0.1.2, v0.1.1, v0.1.0, dev-master

foogile/wp-cli-mig

General migration command for WP-CLI

License WTFPL
Authors Stian Liknes
Releases v0.0.2, v0.0.1, v0.0.0, dev-master

iandunn/wp-cli-plugin-active-on-sites

A WP-CLI command to list all sites in a Multisite network that have activated a given plugin

Homepage https://github.com/iandunn/wp-cli-plugin-active-on-sites
License GPLv2
Authors Ian Dunn
Releases dev-master

iandunn/wp-cli-rename-db-prefix

A WP-CLI command to rename WordPress' database prefix.

Homepage https://github.com/iandunn/wp-cli-rename-db-prefix
License GPLv2
Authors Ian Dunn
Releases dev-master

itspriddle/wp-cli-tgmpa-plugin

Manage TGMPA plugins with WP-CLI

Homepage https://github.com/itspriddle/wp-cli-tgmpa-plugin
License MIT
Authors Joshua Priddle
Releases v0.3.0, v0.2.0, v0.1.3, v0.1.2, v0.1.1, v0.1.0, dev-master, dev-refactor/wp-admin

ivankruchkoff/wp-hammer

WP CLI Hammer Command to remove personally identifiable information and extra content for dev/test/stage purposes

Homepage https://github.com/10up/wp-hammer
License MIT
Authors Ivan Kruchkoff
Releases dev-add/update-uri, dev-master

jaywood/jw-wpcli-random-posts

A robust random post generator for WP CLI which supports multisite, post types, post counts, taxonomies, terms, term counts and featured images.

Homepage http://plugish.com
License GPLv2
Authors Jay Wood
Releases 2.0, 1.4, 1.3, 1.2, 1.1, dev-develop, dev-master, dev-feature/allow-test-data-removal, dev-feature/faker

lucatume/wpcli-wpbrowser-tests

Scaffold wp-browser based tests for a plugin or theme

Homepage https://github.com/lucatume/wpcli-wpbrowser-tests
License MIT
Authors Luca Tumedei
Releases 1.0.3, 1.0.2, 1.0.1, 1.0.0, dev-master

matt/wp-installer

WP Installer CLI Command

Homepage https://github.com/mattgrshaw/wp-installer
License GPLv3
Authors Matt Shaw
Releases dev-master

mattes/wp-cli-git-command

WordPress Git helpers, like pre-commit hooks for automatic MySQL database dumps.

Homepage https://github.com/mattes/wp-cli-git-command
License MIT
Authors Matthias Kadenbach
Releases v1.0.2, v1.0.1, v1.0.0, dev-master

mattes/wp-cli-quick-command

Quick WordPress helpers.

Homepage https://github.com/mattes/wp-cli-quick-command
License MIT
Authors Matthias Kadenbach
Releases dev-master

michaloo/wp-cli-environmentalize

Makes wp-config to load settings from ENV variables.

Homepage https://github.com/michaloo/wp-cli-environmentalize
License MIT
Authors Michał Rączka
Releases dev-master

mikedance/wp-cli-favorite-plugins

WP-CLI command to grab favorited plugins from any wordpress.org account.

Homepage https://github.com/mikedance/wp-cli-favorite-plugins
License GPLv2
Authors Michael Dance
Releases 1.2, 1.1, dev-dev, dev-master

miya0001/wp-cli-plugins-api

WP-CLI command for Plugins API

Homepage http://github.com/miya0001/wp-cli-plugins-api
License GPL-2.0
Authors Takayuki Miyauchi
Releases 1.0.1, 1.0, dev-master

miya0001/wp-cli-vhosts

Manage multiple WordPress sites in the server.

Homepage https://github.com/miya0001/wp-cli-vhosts
License GPL-2.0
Authors Takayuki Miyauchi
Releases 1.4.1, 1.4.0, 1.2.0, 1.1.0, 1.0.0, dev-master, dev-stable

nikschavan/revslider-search-replace

WP CLI Command to Search Replace Strings in revolution slider

Homepage https://github.com/Nikschavan/revslider-search-replace
License MIT
Releases dev-master

ocean90/wp-cli-flush-cache

Clear the cache of a user or a site.

Homepage https://github.com/ocean90/wp-cli-flush-cache
License GPL-2.0+
Releases dev-master

oderland/wp-cli-oderland

Manage Databases and Domains for Oderland Hosting Services

Homepage https://github.com/oderland/wp-cli-oderland
License MIT
Authors Package Maintainer
Releases dev-new2, dev-master, dev-new

pantheon-systems/wp_launch_check

Check against a WordPress for performance and security

License MIT
Releases 0.6.x-dev, v0.6.8, v0.6.7, v0.6.6, v0.6.5, v0.6.3, v0.6.2, v0.6.1, v0.6.0, dev-add-license-1, dev-master, dev-travis, dev-fix_travis, dev-fix_utils_typo, dev-readme-object-cache, dev-use_wpcli_to_sanitize

petenelson/wp-cli-size

Database and table sizes command for WP-CLI

Homepage https://github.com/petenelson/wp-cli-size
License MIT
Authors Pete Nelson
Releases dev-master, dev-feature/media-size

pixline/wp-cli-proxy

wp-cli debug proxy setup (mitmproxy.org)

Homepage https://github.com/pixline/wp-cli-proxy
License MIT
Authors Paolo Tresso
Releases 0.1.3, dev-master

pulsestorm/wp-static-html-output-plugin

Unofficial WP-CLI wrapper for the WP Static HTML Output Plugin

Homepage https://github.com/astorm/wp-static-html-output-plugin
License MIT
Authors Alan Storm
Releases dev-alanstorm-dot-com, dev-master

redkiwi-nl/localconfig

Creates a local config for any WordPress installation, based on a few questions you get asked.

License MIT
Authors Jeroen Ketelaar, Redkiwi
Releases 0.3.1, 0.3, 0.2.2, 0.2.1, 0.1, dev-master

Assign featured images to posts that support thumbnails.

Homepage https://runcommand.io/wp/assign-featured-images/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/db-ack

Find a specific string in the database.

Homepage https://runcommand.io/wp/db-ack/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/find-unused-themes

Find unused themes on a multisite network.

Homepage https://runcommand.io/wp/find-unused-themes/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/hook

List callbacks registered to a given action or filter.

Homepage https://runcommand.io/wp/hook/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/manifest

See what's going on inside of WordPress.

Homepage https://runcommand.io/wp/manifest/
License MIT
Releases dev-active-plugins, dev-master

runcommand/media-sideload

Sideload embedded images, and update post content references.

Homepage https://runcommand.io/wp/media-sideload/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/media-sizes

List media sizes registered with WordPress.

Homepage https://runcommand.io/wp/media-sizes/
License MIT
Releases dev-master

runcommand/precache

Proactively download and cache core, theme, and plugin files for later installation.

Homepage https://runcommand.io/wp/precache/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/query-debug

Find the query causing your performance issues.

Homepage https://runcommand.io/wp/query-debug/
License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/user-reset-password

Reset passwords for one or more WordPress users.

Homepage https://runcommand.io/wp/user-reset-password/
License MIT
Authors Daniel Bachhuber
Releases v0.1.0, dev-master

rxnlabs/wp-composer-dependencies

Manage your WordPress dependencies using the power of Composer, WP-CLI, and http://wpackagist.org/

Authors De'Yonté W.
Releases dev-dev, dev-master

sebastiaandegeus/wp-cli-salts-command

Manage salts for your WordPress installation

Homepage https://github.com/sebastiaandegeus/wp-cli-salts-command
License MIT
Releases dev-master

shifter/cli

WP-CLI commands for the Shifter

Homepage https://github.com/getshifter/wp-cli-shifter
License GPL-2.0
Authors Shifter Team
Releases v1.8.1, 1.8.0, 1.7.0, 1.6.0, 1.5.1, 1.5.0, 1.4.0, 1.3.0, 1.2.2, 1.2.1, 1.2.0, 1.1.0, 1.0.2, 1.0.1, 0.1.1, 0.1.0, dev-add-generate-command, dev-allow-to-exec-on-staging, dev-master, dev-stable, dev-renovate/configure, dev-feature/new-api/archive

szepeviktor/wp-cli-database-prefix-command

Perform operations on prefixed database tables.

Homepage https://github.com/szepeviktor/wp-cli-database-prefix-command
License MIT
Authors Viktor Szépe
Releases dev-master

tillkruss/wp-cli-kraken

WP-CLI command to optimize WordPress image attachments using the Kraken Image Optimizer.

Homepage https://github.com/tillkruss/wp-cli-kraken
License MIT
Authors Till Krüss
Releases dev-master

timhysniu/wp-cli-template

Find, list and update templates for WP-CLI

Homepage https://github.com/timhysniu/wp-cli-template
License MIT
Authors Tim Hysniu
Releases dev-master

timhysniu/wp-dbdelta

Database change management for WP-CLI

Homepage https://github.com/timhysniu/wp-dbdelta
License MIT
Authors Tim Hysniu
Releases dev-master

trepmal/blog-extractor

Extract a single blog from a multisite

Homepage https://github.com/trepmal/blog-extractor
License MIT
Authors Kailey Lampert
Releases dev-master

vccw-team/wp-cli-scaffold-movefile

Get informations as YAML format for Wordmove's movefile.yml from WordPress

Homepage https://github.com/vccw-team/wp-cli-scaffold-movefile
License GPL-2.0
Authors Takayuki Miyauchi
Releases 1.9.0, 1.8.1, 1.7.0, 1.6.0, 1.5.0, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.3.0, 1.2.0, 1.1.2, dev-master

vccw/scaffold-vccw

Homepage https://github.com/vccw-team/scaffold-vccw
License MIT
Releases 1.4.0, 1.3.0, 1.2.0, 1.1.1, 1.1.0, 1.0.1, 1.0.0, dev-master, dev-stable

viewone/wp-cli-environment

Environment package for wp-cli

License MIT
Authors Piotr Kierzniewski
Releases 0.2.0, 0.1.0, dev-develop, dev-master

welaika/wp-cli-db2utf8

Homepage https://github.com/welaika/wp-cli-db2utf8
License MIT
Releases dev-master

wp-cli/restful

Unlock the potential of the WP REST API at the command line.

License MIT
Authors Daniel Bachhuber
Releases v0.3.0, v0.2.0, v0.1.0, dev-master, dev-regenerate-readme, dev-dependabot/composer/behat/behat-approx-3.10

wp-media/wp-rocket-cli

Add a `wp rocket` command to support the WP Rocket plugin

Homepage https://github.com/wp-media/wp-rocket-cli
License MIT
Authors WP Rocket Team
Releases v1.3, v1.2, v1.1.2, v1.1.1, 1.0, dev-develop, dev-trunk