Force Install/Update Plugins with WP-CLI

wp plugin install $(wp plugin list --field=name --skip-plugins --skip-themes) --force --skip-plugins --skip-themes
Code language: Bash (bash)

WP-CLI on Docker:

docker-compose run --no-deps --rm wpcli --allow-root plugin install $(wp plugin list --field=name) --force
Code language: Bash (bash)

Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *