How to Install Drush in CentOS and Red Hat Linux

Drush is included in the EPEL repository so you can use the yum command to install it. Do the following:

  1. Enable the EPEL repository if it isn’t already. Instructions for enabling it are available here.
  2. Install the Drush package with the command: sudo yum install drush
    • If you want to know what version of drush you are installing, do this command first: yum info drush
  3. Done. Drush is now available globally for all users of the system.

Leave a Reply

Your email address will not be published. Required fields are marked *