Topics Map > Communication and Collaboration > cPanel Web Hosting
cPanel, Advanced Drupal topics
Installing Drush in your cPanel Account
Drush is a command line-based tool for managing Drupal without needing to click through the web interface.
- SSH into your cPanel account.
- Start from your home directory (i.e. /home/cpanelaccountname ) or another suitable directory.
- Note: You should not install Drush inside public_html.
- Follow Drush's latest installation instructions here: https://www.drush.org/latest/install/
- Optional steps
- edit ~/.bashrc to add alias for drush
Add alias drush="~/drush/drush" to the file.
After saving the .bashrc edits, use source ~/.bashrc to reload the bashrc file.
Type drush status to confirm which version of Drush you have installed.
Type drush to see the list of commands available.
- edit ~/.bashrc to add alias for drush