drush

A command-line shell and scripting interface for Drupal. More information: <https://www.drush.org>.

Install

All systems
curl cmd.cat/drush.sh
Debian Debian
apt-get install drush
Ubuntu
apt-get install drush
Fedora
dnf install drush
Windows (WSL2)
sudo apt-get update sudo apt-get install drush
Raspbian
apt-get install drush

A command-line shell and scripting interface for Drupal. More information: <https://www.drush.org>.

  • Enable module "foo":
    drush en foo
  • Uninstall module "foo":
    drush pmu foo
  • Clear all caches:
    drush cr
  • Clear CSS and JavaScript caches:
    drush cc css-js

© tl;dr; authors and contributors