Topics Map > Communication and Collaboration > cPanel Web Hosting

cPanel, Advanced Drupal topics

How to install the drush command line interface for Drupal on

Installing Drush in your cPanel Account

Drush is a command line-based tool for managing Drupal without needing to click through the web interface.

  1. SSH into your cPanel account.
  2. Start from your home directory (i.e. /home/cpanelaccountname ) or another suitable directory.
    1. Note: You should not install Drush inside public_html.
  3. Follow Drush's latest installation instructions here: 
  4. Optional steps
    1. edit ~/.bashrc to add alias for drush 
      1. Add alias drush="~/drush/drush" to the file.

    2. After saving the .bashrc edits, use source ~/.bashrc to reload the bashrc file.

    3. Type drush status to confirm which version of Drush you have installed.

    4. Type drush to see the list of commands available.

KeywordscPanel, web hosting, Drupal, drush, command line, CLI   Doc ID84966
OwnerWeb H.GroupUniversity of Illinois Technology Services
Created2018-08-17 12:20:59Updated2022-01-24 11:20:23
SitesUniversity of Illinois Technology Services
Feedback  0   0