Skip to content

Instantly share code, notes, and snippets.

@mindmergedesign
Created March 7, 2013 19:17
Show Gist options
  • Save mindmergedesign/5110899 to your computer and use it in GitHub Desktop.
Save mindmergedesign/5110899 to your computer and use it in GitHub Desktop.
Installing Drush on Mac OS X
How to install Drush on Mac OS X Mountain Lion.
1. Download the latest version of Drush to your local folder (e.g. Desktop)
2. Launch Terminal and change directory (where drush is downloaded)

cd ~/Desktop
3. Extract it.
4. Create /usr/local/lib if it does not exist (otherwise, skip this step)
sudo mkdir /usr/local/lib/
5. Move it to /usr/local/lib
sudo mv drush /usr/local/lib/
6. Make it executable
sudo chmod u+x /usr/local/lib/drush/drush
7. Then stick it in /usr/bin/ so that you can run it from anywhere

sudo ln -s /usr/local/lib/drush/drush /usr/bin/drush
8. Check if it works
drush --version
@mindmergedesign
Copy link
Author

Also check "Installing Drush on Mac Os X using Homebrew"
http://drupal.org/node/954766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment