Skip to content

Instantly share code, notes, and snippets.

@sn00011
Created July 27, 2012 08:52
Show Gist options
  • Save sn00011/3186899 to your computer and use it in GitHub Desktop.
Save sn00011/3186899 to your computer and use it in GitHub Desktop.
Manually install drush 5.4 on OSX Lion
# Install Drush 5.4
> cd /opt
> sudo git clone --recursive --branch master http://git.drupal.org/project/drush.git
> cd drush
> sudo git checkout tags/7.x-5.4
> sudo ln -s /opt/drush/drush /usr/bin/drush
> sudo drush
> drush
> drush --version
drush version 5.4
# Install 'Drush Site Upgrade'
> cd
# The -p option will make the mkdir skip if the folder's already there
> mkdir -p .drush
> cd .drush
> git clone --recursive --branch master http://git.drupal.org/project/drush_sup.git
> drush | grep upgrade
# Now the site-upgrade command should be found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment