WP-CLI

WordPress on the command line: update, search-replace, manage users and plugins without the dashboard.

Also called: wp

Type
Term
Source
General
Languages
PHP, Bash

Example

wp search-replace moved every link from http to https in one command.

In code

wp plugin update --all
wp search-replace 'http://old.com' 'https://new.com' --dry-run
wp cache flush

Learn more

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30