WP-CLI

A command line interface for WordPress

WP-CLI 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-master, dev-develop

aaemnnosttv/wp-cli-dotenv-command

Dotenv commands for WP-CLI

Homepage https://github.com/aaemnnosttv/wp-cli-dotenv-command
License MIT
Authors Evan Mattson
Releases dev-master, v0.2, v0.1, v0.1-beta.1, dev-develop, dev-dev, dev-tests/behat

aaemnnosttv/wp-cli-http-command

WP-CLI command for using the WordPress HTTP API

Authors Evan Mattson
Releases dev-master

aaemnnosttv/wp-cli-valet-command

WP-CLI command for managing WordPress development environments using Laravel Valet.

Homepage https://github.com/aaemnnosttv/wp-cli-valet-command
License MIT
Authors Evan Mattson
Releases dev-master, dev-add-symfony-process

adrigen/wp-cli-piwik

Add a `wp piwik` command to support the WP-Piwik plugin

License MIT
Authors Adrian Garner
Releases dev-master

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-master

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

boonebgorges/wp-cli-buddypress

WP-CLI commands for BuddyPress

Homepage https://github.com/boonebgorges/wp-cli-buddypress
License MIT
Authors Boone B Gorges
Releases dev-master, 1.3.x-dev, 1.1.1, 1.1.0, 1.0.0

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 dev-master, 0.1.x-dev, 0.1.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 dev-master, v1.0.0, dev-dev

danielbachhuber/dictator

The Dictator controls the state of WordPress

Homepage https://github.com/danielbachhuber/dictator
License MIT
Authors Daniel Bachhuber
Releases dev-master, v0.1, dev-sidebar-region

danielbachhuber/wp-cli-reset-post-date-command

Reset the post_date field on your posts after you change the timezone.

License MIT
Authors Daniel Bachhuber
Releases dev-master

danielbachhuber/wp-cli-stat-command

Explore data about your WordPress site.

Homepage https://github.com/danielbachhuber/wp-cli-stat-command
License MIT
Authors Daniel Bachhuber
Releases dev-master

danielbachhuber/wp-rest-cli

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

License MIT
Authors Daniel Bachhuber
Releases dev-master, v0.1.0, dev-api-blueprint

dereckson/wp-cli-polylang

Add a `wp polylang` command to support the Polylang plug-in

Homepage https://github.com/dereckson/wp-cli-polylang
License GPLv2
Authors Sébastien Santoro aka Dereckson
Releases dev-master

eriktorsner/wp-bootstrap

Utils for bootstrapping a WordPress installation

Homepage https://github.com/eriktorsner/wp-bootstrap/
License MIT
Authors Erik Torsner
Releases dev-master, 0.5.1, 0.5.0, 0.4.0, 0.3.10, 0.3.9, 0.3.8, 0.3.7, 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.9, 0.2.8, 0.2.7, 0.2.6, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.13, 0.1.12, 0.1.11, 0.1.10, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1

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 dev-master, v0.1.1, v0.1.0, dev-develop

foogile/wp-cli-mig

General migration command for WP-CLI

Homepage https://github.com/stianlik/wp-cli-mig/
License WTFPL
Authors Stian Liknes
Releases dev-master, v0.0.2, v0.0.1, v0.0.0

frozzare/wp-cli-lint

WP-CLI command for linting your code

Homepage https://github.com/frozzare/wp-cli-lint
License MIT
Authors Fredrik Forsmo
Releases dev-master

frozzare/wp-cli-media-restore

Restore media attachments using WP CLI

Homepage https://github.com/frozzare/wp-cli-media-restore
License MIT
Authors Fredrik Forsmo
Releases dev-master, v1.0.0

geekpress/wp-rocket-cli

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

Homepage https://github.com/GeekPress/wp-rocket-cli
License MIT
Authors WP Rocket Team
Releases dev-master, 1.0

humanmade/wp-remote-cli

Manage your WordPress sites using WP Remote and WP-CLI.

License MIT
Authors Humanmade, Daniel Bachhuber
Releases dev-master, dev-deploy, dev-endpoint-fixes, dev-fourth-level-commands

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 dev-master, v0.1.1, v0.1.0

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-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 dev-master, v1.0.2, v1.0.1, v1.0.0

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

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 dev-master, 1.0

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 dev-master, 1.4.0, 1.2.0, 1.1.0, 1.0.0, dev-stable

pantheon-systems/wp_launch_check

Check against a WordPress for performance and security

License MIT
Releases dev-master, v0.6.0, dev-15-session-check, dev-travis, dev-feature-better-cron, dev-new-travis, dev-json-fix, dev-xwp-feature-cleanup, dev-nataliejeremy-reddis-link, dev-fix_exploit_check, dev-default_check_messages, dev-markjaquith-session-check, dev-date-format-cron, dev-markjaquith-next-run-format

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-php-devtools

Wrapper around common development utilities

Homepage https://github.com/pixline/wp-cli-php-devtools
License MIT
Authors Paolo Tresso
Releases dev-master, 0.2.5, 0.2.4, 0.2.3, 0.2.2, dev-phpcs-external, dev-phpcs-custom-standard

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 dev-master, 0.1.3

pixline/wp-cli-theme-test-command

Install and configure WordPress theme unit tests

Homepage https://github.com/pixline/wp-cli-theme-test-command
License MIT
Authors Paolo Tresso
Releases dev-master, v0.5.0

pods-framework/pods-wp-cli

WordPress Pods WP-CLI commands

Homepage https://github.com/pods-framework/pods-wp-cli
License MIT
Authors Pods Framework Team, Scott Kingsley Clark
Releases 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-master

runcommand/db-ack

Find a specific string in the database.

License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/dist-archive

Create a distribution archive based on a project's .distignore

License MIT
Releases dev-master

runcommand/doctor

Run a series of checks against WordPress to diagnose issues.

License MIT
Releases dev-master

runcommand/find-unused-themes

Find unused themes on a multisite network.

License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/hook

List callbacks registered to a given action or filter.

License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/media-sideload

Sideload embedded images, and update post content references.

License MIT
Authors Daniel Bachhuber
Releases dev-master

runcommand/precache

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

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

runcommand/query-debug

Find the query causing your performance issues.

License MIT
Releases dev-master

runcommand/reset-password

Reset passwords for one or more WordPress users.

License MIT
Authors Daniel Bachhuber
Releases 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

sinebridge/wp-cli-about

Returns information about the wordpress installation and environment

Homepage https://github.com/sinebridge/wp-cli-about
License MIT
Authors Sinebridge, Mark Wallace
Releases dev-master, v1.0.1, v1.0.0, dev-develop

srtfisher/wp-composer

WP-CLI wrapper for Composer

Homepage http://wordpress.org/plugins/composer
License GPL-2.0
Authors Sean Fisher
Releases dev-master, 0.1.2, 0.1.1, 0.1

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-dbdelta

Database change management for WP-CLI

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

vccw/wp-cli-scaffold-movefile

Get informations as YAML format for Wordmove's Movefile from WordPress

Homepage https://github.com/vccw-team/wp-cli-scaffold-movefile
License GPL-2.0
Authors Takayuki Miyauchi
Releases dev-master, 1.3.0, 1.2.0, 1.1.2, dev-stable

viewone/wp-cli-environment

Environment package for wp-cli

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

wp-cli/scaffold-package-command

Scaffold WP-CLI commands with functional tests

License MIT
Releases dev-master

wp-cli/server-command

Start a development server for WordPress

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

wp-cli/wp-super-cache-cli

Add a `wp super-cache` command to support the WP Super Cache plug-in

Homepage https://github.com/wp-cli/wp-super-cache-cli
License MIT
Authors WP-CLI Team
Releases dev-master

x-team/wp-cli-ssh

Invoke WP-CLI on another server via SSH from local machine

Homepage https://github.com/x-team/wp-cli-ssh
License GPLv2
Authors Jonathan Bardo, Weston Ruter
Releases dev-master, dev-issue-7, dev-command, dev-deprecate