Introduction
This article provides the procedure to install Drush.
Please note that Composer must be installed before Drush can be installed and that the cPanel user must have SSH access.
Procedure
- Access the server's command line as the cPanel user via SSH or "Terminal" in cPanel.
- Add Drush to your
composer.json
file.composer require drush/drush
- Install Drush.
composer install