Articles

How to Install Drush

Drush is a command-line shell and scripting interface for Drupal.

Installing Drush

To install Drush, SSH in to your server as root and run the following commands:

sudo wget -O /usr/local/bin/drush http://files.drush.org/drush.phar
sudo chmod 755 /usr/local/bin/drush

You can then invoke it as simply

drush

Using Drush

Drush has many commands and options available. For information on using Drush, see the Drush documentation.

Be sure to run Drush as the system user for your app (e.g., serverpilot), not as root. If you invoke Drush as root, you will end up with file permission errors in your application.