How to Install WP-CLI on cPanel

To install and use WP-CLI, you will need access to your server’s command line. Administrators with root access can log in with SSH. cPanel users can log in with SSH if it’s available or cPanel’s built-in Terminal.

Download WP-CLI

$ curl -O

Change Permissions

chmod +x wp-cli.phar