Also called: wp
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
- WP-CLIwordpress.org (opens in a new tab)
- WP-CLI commandsdeveloper.wordpress.org (opens in a new tab)
Related terms
Added 2026-11-30 · Last reviewed 2026-11-30