Skip to content

Cookbook › WP-CLI

Update a plugin on all your sites

WP-CLI3 minutesChangesTested 15 Oct 2026
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.

  1. Your assistant lists your sites with list_sites and starts one background job with start_fleet_job.
  2. 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.
  3. It checks progress with get_fleet_job and reports site by site.
  • “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?”
  • 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.