Best WordPress Hosting
 

Installing, Updating, and Managing WordPress Plugins With WP-CLI

via deliciousbrains.com => original post link

WP-CLI allows you to do practically anything you can do in the WordPress admin, but on the command line. This saves a lot of time and provides a cleaner workflow. You can use WP-CLI to manage WordPress core, run theme updates, manage multisite installations, and much more. In this article we’re going to concentrate on one of the most common use cases, managing your WordPress plugins.

WP-CLI commands are all structured in the same way. There is always a parent command (such as wp plugin) and a subcommand (such as install), followed by parameters and switches. We’re going to concentrate on wp plugin and its subcommands in this article, but you can see a more detailed explanation in our guide to WP-CLI command structure.

That article used the wp plugin command as an example, highlighting how to install and activate plugins using WP-CLI. In this article we’re going to dive a lot deeper into how to manage our plugins using the WordPress command line interface.