The command-line tool for WordPress, WP-CLI, was released as version 3.0.0 on December 1, 2026 and now requires at least PHP 7.2.24. With the tool, you control WordPress installations via commands in the terminal. According to the project team, the first new major version since 2.0.0 is the most extensive so far, as 99 contributors have added 1,444 changes.
For scripts and deployments, the list of changes that can break existing scripts matters most. On the same day, the bugfix version 3.0.1 also followed, which fixes an error when loading subsequently installed packages.
Which changes affect existing scripts?
WP-CLI 3.0 ends support for PHP 5.6 to 7.2.23 and, according to the project, is fully compatible up to PHP 8.5. On older servers, the Phar file, the single program file of WP-CLI, now aborts with an understandable error message instead of failing with a syntax error.
What changes in WP-CLI 3.0
Five changes with consequences for scripts, according to the release notes from December 1, 2026
PreviouslyFrom version 3.0.0
- Update across major versionsonly with wp cli update --major
- wp plugin status and wp theme statusdeprecated, replaced by list and get
- Environment variable WP_CLI_SKIP_PROMPTis now called WP_CLI_ERROR_RERUN
- Plugins and themes from Git, SVN, Mercurialskipped by default during update
- PHP memory limit always liftedPHP limit applies, wp cli info warns
Source: WP-CLI
According to the WP-CLI release notes, wp cli update will no longer switch across major versions in the future unless you specify --major. When WP-CLI updates itself, it also requires a SHA-512 checksum; the old MD5 check is dropped. The commands wp plugin status and wp theme status are considered deprecated. Instead, you use wp plugin list and wp plugin get, and for themes accordingly wp theme list and wp theme get.
The environment variable WP_CLI_SKIP_PROMPT is now called WP_CLI_ERROR_RERUN, so it's best to search your Docker files, CI configurations, and cron jobs for the old name. Plugins and themes managed via Git, Subversion, or Mercurial are no longer updated by wp plugin update unless you explicitly request it. A script that previously updated such plugins by command thus remains ineffective.
WP-CLI no longer sets the PHP memory limit to unlimited on its own, and wp cli info warns if memory_limit is low. Large exports can therefore abort at the memory limit, although the release notes do not explicitly mention this consequence. With wp search-replace, WP-CLI will in the future convert serialized data only into objects of the class stdClass; you enable further classes via a filter.
What else does the new version bring?
Four new packages are now built into the Phar file. These include wp ability for the Abilities API from WordPress 6.9, through which plugins register their functions, and wp ai for the AI client of WordPress 7.0. Added to these are wp block for block types and templates as well as wp site-health for the site health checks. The database commands now also support SQLite, and with wp post revision diff and wp post revision restore you compare and restore revisions.
Why did version 3.0.1 follow on the same day?
The bugfix version 3.0.1 fixes an error in the order in which WP-CLI loads program code. Older packages in the ~/.wp-cli/packages/ folder could thereby override parts of WP-CLI and cause commands such as wp plugin list, wp post list, or wp user list to abort with a fatal error. You perform the update with wp cli update, and if you have installed your own packages, you then run wp package update.
What this means for you
First check with php -v which PHP version is running in your server's terminal, because wp cli update --stable checks before the update whether your PHP version meets the requirement. Then search your scripts for wp plugin status, wp theme status, and WP_CLI_SKIP_PROMPT, and apply the update first on a test copy of your website.
Whether your host already provides WP-CLI 3.0 is not stated in the release notes. If needed, ask your host or install the Phar file yourself; the project lists the installation methods on its website. Install version 3.0.1 right away if you use additional packages.
The WP-CLI team released version 3.0.0 on December 1, 2026.
Sources