---
title: "Install a Plugin Using WP-CLI"
description: "One of the many benefits of our WordPress Hosting plans is the ability to easily manage WordPress from the command line, using WP-CLI, or WordPress Command Line Interface. With WP-CLI, you can use..."
url: https://www.inmotionhosting.com/support/edu/wordpress/wp-cli/install-a-plugin-using-wp-cli/
date: 2017-12-13
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["WP-CLI"]
type: post
lang: en
---

# Install a Plugin Using WP-CLI

One of the many benefits of our [WordPress Hosting plans](https://www.inmotionhosting.com/wordpress-hosting) is the ability to easily manage WordPress from the command line, using **WP-CLI**, or *WordPress Command Line Interface*. With WP-CLI, you can use the *plugin* command to manage your WordPress plugins from the command line. This command can be used to **install**, remove, update, and **activate**/deactivate a plugin. In this guide, you will learn how to install and activate a WordPress plugin using the WP-CLI plugin command.

## Install and Activate a Plugin

1. [SSH into your server](/support/server/ssh/shared-reseller-ssh/) as the cPanel user that owns the website you would like to install the plugin on.
2. Use the cd command to switch to the [document root directory of your website](/support/website/where-to-upload-files/).Example: cd **public_html/my_website** **NOTE: **Be sure to replace **public_html/my_website** with the actual path to the document root directory of your website.
3. There are multiple ways to obtain/install a plugin. Click on one of the buttons below to expand the specific instructions for the method that works best for you. If you are unsure of which option to choose, we recommend expanding the *Slug* option to follow those instructions.

Congratulations! Now you know how to use WP-CLI to install a WordPress plugin from the command line. Want to learn more about WP-CLI? Be sure to check out our [WP-CLI Education Channel](/support/edu/wordpress/wp-cli/).
