Topics Map > Communication and collaboration > cPanel web hosting

cPanel, Advanced Drupal topics

How to install the drush command line interface for Drupal on web.illinois.edu

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: https://www.drush.org/latest/install/ 
  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.



Keywords:
cPanel, web hosting, Drupal, drush, command line, CLI 
Doc ID:
84966
Owned by:
Web H. in University of Illinois Technology Services
Created:
2018-08-17
Updated:
2022-01-24
Sites:
University of Illinois Technology Services