How to force-reinstall Wordpress plugin using wpcli (with or without Docker)
Without docker:
example.sh
wpcli wp plugin install [plugin-name] --force
With docker:
example.sh
docker-compose exec -e HOME=/tmp --user 33:33 wpcli wp plugin install [plugin-name] --force
Check out similar posts by category:
Wordpress
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow