How to install WordPress plugins

WordPress plugin installation using wp-cli

Before diving into details I would like to clarify that using wp-cli for extension installation is method for more advanced users because it requires at least basic SSH skills and of course SSH service enabled on the server. Apart of this wp-cli needs also to be enabled on the server, so if you are not sure whether wp-cli exists, just get in touch with your support team and ask for assistance.

In my case I have wp-cli installed and enabled on the server level, so I am ready to start working with it. My first steps is login to the account using SSH and navigate to wp-content/plugins folder of my WordPress instance. Then upon typing ls –la command, which will list the content of that folder I see the existing plugins. Currently I have the following ones:

Jetpack and Akismet

Following the course of this tutorial I will install WP Super Cache   using wp-cli. To do so I just type this command:

wp plugin install wp-super-cache

which will generate the following output:

Installing WP Super Cache (1.4.7)

Downloading install package from…

Unpacking the package…

Installing the plugin…

Plugin installed successfully.

Success: Translations updates are not needed for the ‘English (US)’ locale.

Then upon typing ls –la command I see WP Super Cache in the list. At this point the plugin is installed, but not activated. To turn it on I need to execute this command wp plugin activate wp-super-cache. Its output is placed below:

# wp plugin activate wp-super-cache

Success: Plugin ‘wp-super-cache’ activated. 

Now the plugin is installed and activated. To configure it to my needs I need to go wp-admin section -> Settings -> WP Super Cache and apply the necessary changes.

Of course wp-cli comes with great manual page. If you are not sure that the correct command for plugin installation is, just type wp plugin and you will see the following output:

usage: wp plugin activate [<plugin>…] [–all] [–network]

   or: wp plugin deactivate [<plugin>…] [–uninstall] [–all] [–network]

   or: wp plugin delete <plugin>…

   or: wp plugin get <plugin> [–field=<field>] [–fields=<fields>] [–format=<format>]

   or: wp plugin install <plugin|zip|url>… [–version=<version>] [–force] [–activate] [–activate-network]

   or: wp plugin is-installed <plugin>

   or: wp plugin list [–<field>=<value>] [–field=<field>] [–fields=<fields>] [–format=<format>]

   or: wp plugin path [<plugin>] [–dir]

   or: wp plugin search <search> [–per-page=<per-page>] [–field=<field>] [–fields=<fields>] [–format=<format>]

   or: wp plugin status [<plugin>]

   or: wp plugin toggle <plugin>… [–network]

   or: wp plugin uninstall <plugin>… [–deactivate] [–skip-delete]

   or: wp plugin update [<plugin>…] [–all] [–format=<format>] [–version=<version>] [–dry-run]

See ‘wp help plugin <command>’ for more information on a specific command.

The same applies for the rest of the command, for example wp theme.

Do you want to share your opinion?

Your email address will not be published. Required fields are marked *


We are not industry specific. We are WordPress specific. We work with everyone to help them find solutions with their troubles.
If you show us the problem you are experiencing, we will show you how to fix it. It is that simple.

Reported WordPress issues

  1. Single Product page loses current class in parent menu page?
  2. Open Graph scraping www URL instead the URL it's given
  3. How to build for Single / Recurring events metabox for custom post type of events in wordpress?
  4. how to replace strings in the values of a particular custom field in all posts?
  5. a good and cheap server that you can change max execution time to 180 [on hold]
  6. jQuery scroll no run
  7. Wordpress template shown after migration to new web host
  8. wp_nav_menu not applying the right menu
  9. How can I dynamically call a Custom Value and insert it into a $ Variable? Current effort breaks website
  10. Posts Table with Search and Sort WordPress Plugin

WordPress problems we are working on

  1. Changing order of a list in FormidablePro with jQuery UI
  2. How can I insert / upload an external html file to wordpress?
  3. Wordpress add_post_meta with increment
  4. Display -webkit-flex not working in Ipad (chrome and safari)
  5. No products were found matching your selection
  6. How to remove and animation on menu for a Wordpress website using Divi theme
  7. How to insert an invideo ad script into an iframed video served from google drive
  8. How to start/play a wordpress acf oEmbed video with a seperate button?
  9. How to update a WordPress page from Java (org.springframework.web.client.RestClientException)?
  10. Best htaccess practises for Wordpress which compatible with Cloudflare and Flexible SSL?

Resolved issues

  1. upload media to wordpress rest api
  2. How to centre menu of Wordpress website without effecting mobile menu
  3. How can I call a value from a Custom Text Field and dynamically place it in Form Attribute?
  4. Center items and align text left on mobiles using flex?
  5. Reduce the gap or white space between the title and 'hr' line using HTML
  6. Wordpress Hide Add to Cart Multiple Categories
  7. What's wrong with this PHP code? It's for a WordPress forum plugin
  8. php array - groups of 3
  9. Wordpress redirect within plugin files
  10. Specific .gif getting corrupt in wordpress
wppotion - powered by persistence and passion