Sponsor of the Day:
Jerkmate
https://make.wordpress.org/cli/handbook/guides/quick-start/
Quick Start – WP-CLI – WordPress.org
Congratulations! You’ve installed WP-CLI for the first time, and are ready to level-up your use of WordPress. This page contains a brief introduction to WP-CLI...
wp cli wordpressquick start
https://make.wordpress.org/cli/handbook/contributions/contributor-day/
WordCamp Contributor Day – WP-CLI – WordPress.org
Welcome to WordCamp Contributor Day! We appreciate you sharing your time with WP-CLI. We’d love to help you submit at least one pull request, so we put...
wp cli wordpresscontributor daywordcamp
https://make.wordpress.org/cli/handbook/references/documentation-standards/
Documentation Standards – WP-CLI – WordPress.org
To promote similarity and consistency between WP-CLI commands, we’ve produced these documentation standards we’d encourage you to follow. Commonality is a key...
wp cli wordpressdocumentationstandards
https://make.wordpress.org/cli/handbook/contributions/roadmap/
Roadmap – WP-CLI – WordPress.org
WP-CLI is released every 3-4 months, typically around the beta period of WordPress’s release cycle: Current: v2.12.0 (May 7th, 2025) Patch versions are...
wp cli wordpressroadmap
https://make.wordpress.org/cli/handbook/references/behat-steps/then-the-return-code-should-not-be/
Then /^the return code should( not)? be (\d+)$/ – WP-CLI – WordPress.org
Expect a specific exit code of the previous command. Usage Scenario: My example scenario Given a WP installation When I try `wp plugin install` Then the return...
wp cli wordpressreturn code
https://make.wordpress.org/cli/handbook/references/tools/
Tools – WP-CLI – WordPress.org
The following is a list of projects that integrate with WP-CLI in some form. For installable WP-CLI packages, please see the package index. Plugins The...
wp cli wordpresstools
https://www.codeable.io/developers/wp-cli/
WP CLI WordPress Developers - Codeable
wp cli wordpressdevelopers codeable
https://make.wordpress.org/cli/tag/release/
release – WP-CLI – WordPress.org
wp cli wordpressrelease
https://make.wordpress.org/cli/handbook/how-to/how-to-start-webserver/
How to start the webserver – WP-CLI – WordPress.org
You can use the command wp server to launches PHP’s built-in web server for a specific WordPress installation. By default, the webserver will start using the...
wp cli wordpressstartwebserver
https://make.wordpress.org/cli/handbook/references/behat-steps/given-a-database/
Given a database – WP-CLI – WordPress.org
Creates an empty database. Usage Has no effect when tests run with SQLite. Scenario: My example scenario Given a database … Behat steps documentation is...
wp cli wordpressgivendatabase
https://make.wordpress.org/cli/handbook/references/behat-steps/then-stdout-should-be-json-containing/
Then /^STDOUT should be JSON containing:$/ – WP-CLI – WordPress.org
Expect valid JSON output in STDOUT. Usage Scenario: My example scenario When I run `wp post meta get 1 meta-key –format=json` Then STDOUT should be JSON...
wp cli wordpressstdoutjsoncontaining
https://make.wordpress.org/cli/handbook/references/behat-steps/given-an-empty-non-existent-directory/
Given /^an? (empty|non-existent) ([^\s]+) directory$/ – WP-CLI – WordPress.org
Creates or deletes a specific directory. Usage Scenario: My example scenario Given an empty foo-plugin directory And a non-existent bar-plugin directory …...
wp cli wordpressnon existentgivenemptydirectory
https://make.wordpress.org/cli/handbook/guides/doctor/doctor-customize-config/
Customize doctor diagnostic checks – WP-CLI – WordPress.org
Even though wp doctor comes with a number of default diagnostic checks, it’s designed with extensibility at its core. Checks are defined at runtime, read from...
wp cli wordpresscustomizedoctordiagnosticchecks
https://make.wordpress.org/cli/handbook/references/behat-steps/then-stdout-stderr-should-be-empty/
Then /^(STDOUT|STDERR) should be empty$/ – WP-CLI – WordPress.org
Expect STDOUT or STDERR to be empty. Usage Scenario: My other scenario Given a WP install When I run `wp plugin install akismet` Then STDERR should be empty...
wp cli wordpressstdout stderrempty
https://make.wordpress.org/cli/handbook/references/behat-steps/then-stdout-should-be-a-json-array-containing/
Then /^STDOUT should be a JSON array containing:$/ – WP-CLI – WordPress.org
Expect valid JSON array output in STDOUT. Usage Errors when some items are missing from the expected array. Scenario: My example scenario When I run `wp plugin...
wp cli wordpressjson arraystdoutcontaining
https://make.wordpress.org/cli/handbook/contributions/contributing/
Contributing – WP-CLI – WordPress.org
Welcome and thanks! We appreciate you taking the initiative to contribute to WP-CLI. It’s because of you, and the community around you, that WP-CLI is such a...
wp cli wordpresscontributing
https://make.wordpress.org/cli/handbook/references/behat-steps/given-save-the-file-as/
Given /^save the (.+) file ([\’].+[^\’])?as \{(\w+)\}$/ – WP-CLI – WordPress.org
Stores the contents of the given file in a variable. Usage Scenario: My example scenario Given a WP installation with Composer And save the...
wp cli wordpressgivensavefile
https://make.wordpress.org/cli/handbook/
Handbook – WP-CLI – WordPress.org
Here are some helpful guides and resources for using WP-CLI. Can’t find what you’re looking for? Open an issue to request improvements. Guides For users...
wp cli wordpresshandbook
https://make.wordpress.org/cli/handbook/contributions/release-checklist/
Release Checklist – WP-CLI – WordPress.org
There are two different release checklists available from within the wp-cli/wp-cli repository: Generate a 🚀 Regular Release Checklist – applies to major...
wp cli wordpressreleasechecklist
https://make.wordpress.org/cli/handbook/references/hosting-companies/
Hosting Companies – WP-CLI – WordPress.org
The following is a list of hosting companies that have WP-CLI installed by default for their customers, i.e. when they first SSH into their server, the wp...
wp cli wordpresshosting companies
https://make.wordpress.org/cli/handbook/references/behat-steps/when-i-launch-in-the-background/
When /^I launch in the background `([^`]+)`$/ – WP-CLI – WordPress.org
Launch a given command in the background. Usage Scenario: My example scenario Given a WP install And I launch in the background `wp server –host=localhost...
wp cli wordpresslaunchbackground
https://make.wordpress.org/cli/handbook/contributions/implementation-details/
Implementation Details – WP-CLI – WordPress.org
This page contains some history on various implementation details of WP-CLI. Bootstrapping WordPress On a normal web request, your web server calls the...
wp cli wordpressimplementation details
https://make.wordpress.org/cli/handbook/references/behat-steps/when-i-run-try-from/
When /^I (run|try) `([^`]+)` from ‘([^\s]+)’$/ – WP-CLI – WordPress.org
Run or try a given command in a subdirectory. Usage run expects an exit code 0, whereas try allows for non-zero exit codes. Scenario: My example scenario When...
wp cli wordpressruntry
https://make.wordpress.org/cli/handbook/contributions/committers-credo/
Committers Credo – WP-CLI – WordPress.org
Some people have write access to WP-CLI repositories. These people are identified in the following teams: maintainers – Project leadership committers – Trusted...
wp cli wordpresscommitterscredo
https://make.wordpress.org/cli/handbook/references/internal-api/
Internal API – WP-CLI – WordPress.org
WP-CLI includes a number of utilities which are considered stable and meant to be used by commands. This also means functions and methods not listed here are...
wp cli wordpressinternal api
https://make.wordpress.org/cli/handbook/contributions/repository-management/
Repository Management – WP-CLI – WordPress.org
Package Names Package names for the official wp-cli GitHub organization need to be discussed upfront with the maintainers. Before creating a new repository,...
wp cli wordpressrepository management
https://make.wordpress.org/cli/handbook/references/behat-steps/given-download/
Given download: – WP-CLI – WordPress.org
Download multiple files into the given destinations. Usage Scenario: My example scenario Given download: | path | url | | {CACHE_DIR}/foo.jpg | | |...
wp cli wordpressgivendownload
https://make.wordpress.org/cli/handbook/references/argument-syntax/
Argument Syntax – WP-CLI – WordPress.org
WP-CLI commands use a standardized syntax to describe their arguments and options. Understanding this syntax will help you use commands correctly and avoid...
wp cli wordpressargumentsyntax
https://make.wordpress.org/cli/handbook/references/
References – WP-CLI – WordPress.org
Argument Syntax – Explanation of the syntax conventions used in command synopsis. Global parameters – Variables defining how a command is executed, including...
wp cli wordpressreferences
https://make.wordpress.org/cli/handbook/contributions/code-review/
Code Review – WP-CLI – WordPress.org
Code review is a core part of the WP-CLI project’s software development workflow. Code review and pairing on code are necessary to maintain quality output, as...
wp cli wordpresscode review
https://make.wordpress.org/cli/handbook/contributions/governance/
Governance – WP-CLI – WordPress.org
This document describes the governance structure of the WP-CLI project. Who’s in charge? WP-CLI has one maintainer: schlessera. On a day to day basis, final...
wp cli wordpressgovernance
https://make.wordpress.org/cli/handbook/guides/doctor/doctor-check-plugin-status/
Check status of a given plugin – WP-CLI – WordPress.org
One of the check types included in wp doctor is Plugin_Status, or the ability to assert that a given plugin should be active, installed, or uninstalled....
wp cli wordpresscheck statusgivenplugin
https://make.wordpress.org/cli/handbook/references/config/
Config – WP-CLI – WordPress.org
wp cli wordpressconfig
https://make.wordpress.org/cli/handbook/guides/commands-cookbook/
Commands Cookbook – WP-CLI – WordPress.org
Creating your own custom WP-CLI command can be easier than it looks — and you can use wp scaffold package (repo) to dynamically generate everything but the...
wp cli wordpresscommandscookbook
https://make.wordpress.org/cli/handbook/guides/external-resources/
External Resources – WP-CLI – WordPress.org
wp cli wordpressexternal resources
https://make.wordpress.org/cli/handbook/references/behat-steps/
Behat Steps – WP-CLI – WordPress.org
WP-CLI makes use of a Behat-based testing framework and provides a set of custom step definitions to write feature tests. Behat steps documentation is...
wp cli wordpressbehatsteps
https://make.wordpress.org/cli/handbook/references/behat-steps/when-i-run-try-the-previous-command-again/
When /^I (run|try) the previous command again$/ – WP-CLI – WordPress.org
Run or try the previous command again. Usage run expects an exit code 0, whereas try allows for non-zero exit codes. Scenario: My example scenario When I run...
wp cli wordpressruntrypreviouscommand
https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-has-config/
WP_CLI::has_config() – WP-CLI – WordPress.org
Confirm that a global configuration parameter does exist. Usage WP_CLI::has_config( $key ) $key (string) Config parameter key to check. @return (bool) Internal...
wp cliconfigwordpress
https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-runcommand/
WP_CLI::runcommand() – WP-CLI – WordPress.org
Run a WP-CLI command. Usage WP_CLI::runcommand( $command, $options = [] ) $command (string) WP-CLI command to run, including arguments. $options (array) {...
wp cliwordpress
https://make.wordpress.org/cli/handbook/references/behat-steps/given-a-dependency-on-current-wp-cli/
Given a dependency on current wp-cli – WP-CLI – WordPress.org
Add wp-cli/wp-cli as a Composer dependency. Usage Scenario: My example scenario Given a WP installation with Composer And a dependency on current wp-cli Behat...
wp cligivendependencycurrentwordpress
https://make.wordpress.org/cli/handbook/guides/installing-packages/
Installing WP-CLI Packages – WP-CLI – WordPress.org
WP-CLI packages are community-maintained projects built on WP-CLI. They can contain WP-CLI commands, but they can also just extend WP-CLI in some way. To find...
installing wpclipackageswordpress
https://www.wp-cli.es/wordpress/encontrar-actualizaciones/
WP-CLI: Encontrar WordPress y actualizaciones pendientes
¿Sabes donde están los WordPress en tu servidor? ¿Y si alguno tiene actualizaciones pendientes?
wp cliencontrarwordpressactualizacionespendientes
https://developer.wordpress.com/docs/developer-tools/wp-cli/
WP-CLI - The Command-Line Tool for WordPress.com
Aug 15, 2025 - Discover WP-CLI: WordPress.com's powerful command-line tool for efficient site management, from updating plugins to debugging issues.
command line toolwp cliwordpress
https://make.wordpress.org/cli/handbook/references/behat-steps/given-a-wp-multisite-subdirectory-subdomaininstall-installation/
Given /^a WP multisite (subdirectory|subdomain)?\s?(install|installation)$/ – WP-CLI – WordPress.org
Installs WordPress Multisite. Usage Supports either subdirectory or subdomain installation. Scenario: My example scenario Given a WP multisite subdomain...
cli wordpressgivenwpmultisitesubdirectory
https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/
WP-CLI v2.12.0 Release Notes – WP-CLI – WordPress.org
A new release of WP-CLI, WP-CLI v2.12.0, is now available. For this release, we had 68 contributors collaborate to get 382 pull requests merged. As always, big...
12 0 releasewp cliv2noteswordpress
https://make.wordpress.org/cli/handbook/guides/behat-tests/
Writing Behat Tests for WP-CLI – WP-CLI – WordPress.org
WP-CLI uses Behat for functional testing. This guide will help you understand how to write and run Behat tests for WP-CLI commands and packages. Introduction...
wp cliwritingbehattestswordpress
https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-report-batch-operation-results/
WP_CLI\Utils\report_batch_operation_results() – WP-CLI – WordPress.org
Report the results of the same operation against multiple resources. Usage WP_CLI\Utils\report_batch_operation_results( $noun, $verb, $total, $successes,...
wp cli utilsreportbatchoperationresults
https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-utils-get-flag-value/
WP_CLI\Utils\get_flag_value() – WP-CLI – WordPress.org
wp cli utilsgetflagvaluewordpress