How to Install a WP-CLI?

> Please go to SSH into your server as the cPanel user that has the website you would like to install this plugin on

> Please use the cd command to switch to the document root directory of your website

Ex: cd public_html/my_website

> Please make sure to replace public_html/my_website with the actual path to the document root directory of your website

> Please run the below command: 

wp package install danielbachhuber/wp-cli-stat-command

> Please make sure to replace danielbachhuber/wp-cli-stat-command with the actual package you would like to install.

> However, the example command will install a useful plugin for reviewing stats/data about your WordPress site

> you will have the following output, Once the installation completes:

[email protected] [~/public_html/wordpress]# wp package install danielbachhuber/wp-cli-stat-command Installing package danielbachhuber/wp-cli-stat-command (dev-master) Updating /home/exampl3/.wp-cli/packages/composer.json to require the package... Using Composer to install the package... --- Loading composer repositories with package information Updating dependencies Resolving dependencies through SAT Dependency resolution completed in 0.242 seconds Analyzed 5729 packages to resolve dependencies Analyzed 373408 rules to resolve dependencies Package operations: 1 install, 0 updates, 0 removals Installs: danielbachhuber/wp-cli-stat-command:dev-master d308e5b - Installing danielbachhuber/wp-cli-stat-command (dev-master d308e5b) Writing lock file Generating autoload files --- Success: Package installed.

>> Congratulations! Now you have installed a package using WP-CLI

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to secure your WordPress?

WordPress is an open-source application so security level issues you may face but Do not worry...

Install themes into the wordpress

What is the WordPress theme? A WordPress Theme is a collection of files that work together to...

Top 5 e-commerce applications

What is e-commerce?   E-commerce (electronic commerce) is the buying and selling of goods and...

How to Install Wordpress Website?

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL....

How To Check DotNetNuke Install Instance Version?

> Please login to your DNN site with your host account. > Please Navigate to Host >...

Powered by WHMCompleteSolution