A command line interface for WordPress

Commands » plugin » activate

wp plugin activate - Activate a plugin.

Quick links: Github issues


One or more plugins to activate.
If set, all plugins will be activated.
If set, the plugin will be activated for the entire multisite network.


# Activate plugin
$ wp plugin activate hello-dolly
Plugin 'hello-dolly' activated.
Success: Activated 1 of 1 plugins.

# Activate plugin in entire multisite network
$ wp plugin activate hello-dolly --network
Plugin 'hello-dolly' network activated.
Success: Network activated 1 of 1 plugins.