WP-CLI: Managing WordPress from Command Line

WordPress · 19.04.2026
WP-CLI: Managing WordPress from Command Line

WP-CLI is the official command-line tool for WordPress.

Key Commands

wp core update
wp plugin update --all
wp db export backup.sql
wp search-replace 'http://old.com' 'https://new.com' --all-tables
💡 wp search-replace safely handles PHP serialized data.
← Back to Knowledge Base Ask Support