Install Plugin

Short description Install a new plugin from WordPress.org
Aliases install, install plugin
Availability Anywhere
Description

With the install plugin command you can install a plugin in the background. You can install any plugin from the WordPress.org plugin repository by slug (appearing in the URL when visiting a plugin).

Adding a additional  --activate flag after the plugin slug will automatically activate the installed plugin after installation.

A checkmark will appear on success, a red ‘X’ will appear if the plugin was not found or if something else went wrong.

Example usages:

install plugin woocommerce

To automatically activate the plugin after installation:

install plugin woocommerce --activate