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 https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Change Permissions

chmod +x wp-cli.phar

https://docs.cpanel.net/knowledge-base/cpanel-developed-plugins/wordpress-toolkit/#install-wordpress-toolkit