Last updated 27 April 2017. Created on 3 September 2010.
Edited by james.williams, dobie_gillis, code-drupal, sidharrell. Log in to edit this page.

Drush is completely independent of your Drupal installation(s). To update it to a later version, follow the same instructions as initial installation, and simply place the new version of Drush in place of the old.


If you installed drush globally via Composer:

composer global update drush/drush

Windows XP / Windows 7

The article "How to manually upgrade to Drush 5.x and 6.x on Windows XP and 7" provides instructions for manually upgrading to the latest development version of Drush in Windows. The instructions have been tested on Windows XP and Windows 7.


Note: If you already have Drush installed, you can simply run drush dl drush for it to download itself.

Applying the destination you can install Drush in the location you desire. E.g. In most Linux distributions:

sudo drush dl drush --destination='/usr/share'
* Note: This will nolonger work since Drush has been moved to github.

Note: Do not run the update command from the same directory where drush is installed or you will get an error (cannot create directory), e.g. do not run the above command from the /usr/share/drush directory. You CAN run it from the /usr/share directory (per the above example).

Suggestion: To avoid accidentally destroying your 'aliases.drushrc.php' if you are using one, put that file in '.drush' or '/etc/.drush' and NOT in your drush directory.

Other solutions (mileage may vary):


You can also use PEAR to update Drush with:

pear upgrade drush/drush

Depending upon your installation you may need to run as SUDO.

Looking for support? Visit the forums, or join #drupal-support in IRC.


srikanth.g’s picture

>drush status command in my drupal81 gives the below error:
Drush 7.3.0 does not support Drupal 8. You will need Drush version 8 or higher. See for details.
when i run "composer global update" it is working fine.

brunik’s picture

So that I can run 'drupal module upgrader'. However I've now spent hours going round in circles trying to upgrade my version of drush from 5 to 7 or 8. Can someone give definite instructions to install on Ubuntu?