Cookbook › WP-CLI
Update a plugin on all your sites
Paste into ChatGPT or ClaudeOn all my sites, check which plugins have updates, then update Yoast SEO and clear the cache. Tell me how each site went.
Changes your site. Standard asks you first in wp-admin; Trusted does it directly.
What happens
Section titled “What happens”- Your assistant lists your sites with
list_sitesand starts one background job withstart_fleet_job. - On each site the commands run in order:
wp plugin list,wp plugin update wordpress-seo,wp cache flush. If one needs your approval or fails, the rest wait on that site; the others carry on. - It checks progress with
get_fleet_joband reports site by site.
Try also
Section titled “Try also”- “Stop the job: don’t start anything new.” (Commands already running still finish.)
- “On all my sites, which ones are not on the latest WordPress?”
Good to know
Section titled “Good to know”- Up to 50 sites and 50 commands per site. Each command that succeeds is one website action; starting, checking and stopping a job are free.
- Each site keeps its own safety level: at Standard, changes wait for your yes on that site.