install plugin by wp cli code example Example: wp cli plugin install // --activate is optional wp plugin install <PLUGIN-SLUG> --activate