Skip to content

Installing Drush manually

Drush is a command‑line shell and scripting interface for Drupal. It allows you to manage Drupal sites more efficiently by running commands for updates, backups, and administration tasks. On ruachost.com, you can install Drush manually if it is not already available through your hosting environment.

  • Automate repetitive Drupal tasks.
  • Manage modules and themes quickly.
  • Run database updates and clear caches from the command line.
  • Improve productivity for developers and site administrators.
  1. Log in to your hosting account at ruachost.com.
  2. Access your server via SSH (Secure Shell).
  1. Navigate to your desired installation directory (e.g., /usr/local/share).

  2. Clone the Drush repository from GitHub:

    Terminal window
    git clone https://github.com/drush-ops/drush.git
  3. Move into the Drush directory:

    Terminal window
    cd drush
  1. Checkout the version compatible with your Drupal installation:

    Terminal window
    git checkout 10.x


    (Replace
    10.x with the version you need.)

  2. Install dependencies using Composer:

    Terminal window
    composer install
  1. Add Drush to your system path so it can be run globally:

    Terminal window
    ln -s /usr/local/share/drush/drush /usr/local/bin/drush
  2. Verify installation:

    Terminal window
    drush --version

✅ Drush is now installed and ready to use.

  • Ensure Composer is installed before running Drush.
  • Always match Drush version with your Drupal version.
  • Use SSH access with sufficient permissions to install globally.