Drupal – How to install Drush

What is Drush?

It’s a command line shell and scripting interface for Drupal. The Drush Package Manager allows you to download, enable, disable, uninstall, update modules/themes/profiles/translations from the command line in a very simple way (apt-get style) – just type,

and

in a Drupal directory to install the Views project! Additionally, the Drush Package Manager also allows you to update all your modules and even Drupal core with just one command,

How to install Drush

  1. Download the current version of the Drush Package from the Drupal website.
  2. Upload the folder to the root directory of your server. I did this on a shared environment.
  3. Login to your server via shell.
  4. Make the ‘drush’ command executable:
  5. create an alias to drush:
  6. Now, you must log out and then log back in again or re-load your bash configuration file to apply your changes to your current session:
  7. Start using drush by running “drush” from your Drupal root directory.

3 thoughts on “Drupal – How to install Drush”

  1. It seems like a very good web site but my English is not good. But, I like this web site very much.

    By the way, Thanks for this information.

  2. Thanks for this. The Drush project page outlines a different protocol for installing Drush in Windows. Was just wondering if your instructions refer to Windows or non-Windows environments (and if non, which one?) Thanks.

Leave a Reply

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