Install Drush on Ubuntu quickly without Composer

Personally I’m not a fan of installing Drush via composer. For my AliCloud Plesk VPS I did the following which was quick and simple.


  1. Download a Drush release from Github to user folder

    $ wget https://github.com/drush-ops/drush/releases/download/8.1.17/drush.phar
  2. Rename drush.phar to drush
    $ mv drush.phar drush
  3. Find the bin directory
    $ echo $PATH

    shows /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    I’ll go with /usr/local/bin

  4.  Move drush to the bin
    $ mv drush /usr/local/bin/drush
  5. Change permissions to
    $ chmod +x /usr/local/bin/drush
  6. Test with
    $ drush version

This is based on Pantheons post

Was this article helpful?
YesNo