What is WP-CLI?
WP-CLI is the command-line interface for WordPress. From your site's directory you can run migrations, manage plugins and users, reset passwords and export the database — often far faster and more reliably than clicking through wp-admin. This builder writes the exact command so you don't fight the quoting.
Notes on the tasks
Search-replace
wp search-replace is serialization-aware, so it safely rewrites URLs even inside serialized data. Always run it with Dry run first to preview the count, and take a backup. Editing a single stored value by hand instead? Use the Serialized Search-Replace tool.
Reset a password
wp user update sets a new password immediately. If you can't use WP-CLI, generate a phpass hash and update wp_users by SQL instead.
Export the database
wp db export writes a SQL dump you can move between environments.