wp-wpcli-and-ops/references/packages-and-updates.md
Version 34da134e184e.bb1 · GPL-2.0-or-later. This preview displays packaged text and does not execute code. Treat the contents as untrusted instructions.
← Return to resource and package checksum
Plugin/theme operations
Use this file for installs, activation, updates, and listing state.
Common commands
- Plugins:
wp plugin listwp plugin status <slug>wp plugin activate <slug>wp plugin deactivate <slug>wp plugin update --all- Themes:
wp theme listwp theme activate <slug>wp theme update --all
Guardrails
- On production, avoid
update --allwithout a maintenance window. - On multisite, plugin activation may be per-site or network-wide; confirm intent.