What is Drush?

Drush (Drupal Shell) is a command line tool (cli) for drupal site management. It runs server-side and it is Drupal (6.x/7.x/8.x) version independent (it is not a module). In our cPanel web hosting packages you will find drush ready to use once you have connected with SSH.

Drush basic usage

Drush command syntax*:

drush [options] <command> [argument1] [argument2]

*For experienced linux terminal users this syntax should be quote familiar, as for novice users there is always documentation available:

Drush available commands

drush help

And even more detailed documentation

drush topic

Additionally for every command you can browse available parameters and syntax examples by typing:

drush help command


IMPORTANT: the commands should be run inside Drupal's root path or deeper eg: /home/user/public_html or /home/user/public_html/mysite

Drupal installation status

drush status

Download a module

drush dl project_name

Enable a module

drush en project_name

Directly installing a module and override questions

drush en project_name -y

Cleaning all caches

drush cc all

Update modules/core

drush up

Of course Drupal is quite famous for its documentation, Drush tool could not be an exemption read more at Drupal page for drush (guides, manual, cheatsheets κλπ)