Skip to content

Instantly share code, notes, and snippets.

@morad7
Last active April 26, 2016 11:12
Show Gist options
  • Save morad7/d975744c0efe515b9ceda18e9f129b9f to your computer and use it in GitHub Desktop.
Save morad7/d975744c0efe515b9ceda18e9f129b9f to your computer and use it in GitHub Desktop.
install drush 8
# Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases.
wget http://files.drush.org/drush.phar
# Or use our upcoming release: wget http://files.drush.org/drush-unstable.phar
# Test your install.
php drush.phar core-status
# Rename to `drush` instead of `php drush.phar`. Destination can be anywhere on $PATH.
chmod +x drush.phar
sudo mv drush.phar /usr/local/bin/drush
#On Ubuntu 16.04
sudo mv drush.phar /usr/bin/drush
# Optional. Enrich the bash startup file with completion and aliases.
drush init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment