Drush is a command line utility for advanced users administering Drupal websites. You can install Drush on Impreza by following these steps.

1. Request SSH access for your account (or if you prefer, web-based terminal access is available in cPanel).

2. SSH to your Impreza Account.

3. Run the following commands in this order:

Navigate to your home directory:

cd

Download the Drush tar:

wget https://github.com/drush-ops/drush/archive/master.zip

Extract the tar:

unzip master.zip

Remove the file:

rm master.zip

Correct the permissions on the file:

chmod u+x drush/drush

Create the Drush alias by editing your .bashrc file in your home directory:

nano ~/.bashrc -or- vim ~/.bashrc

add the following line to the bottom of your .bashrc file.

alias drush='~/drush/drush'

Reload your profile:

source ~/.bashrc

Installing/Configuring Composer

Change into the Drush working directory:

cd drush

Download, Install and Update Composer:

curl -sS https://getcomposer.org/installer | php
php composer.phar update
php composer.phar install

Test to see if it works:

drush core-status

I’m encountering errors installing Drush!

When you enter the last command, you should see Drush running properly. However, you may encounter shell_exec errors which our support team will need to address for you.

If you have any problems installing Drush—including any shell_exec errors—please contact our support team and we will be happy to help. Opening a support ticket in your Account Manager is the best way to reach us.

Was this answer helpful? 0 Users Found This Useful (0 Votes)