HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

drush — Shell and scripting interface for Drupal. More information: <https://www.drush.org/latest/usage/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
shellcommandscriptingandinterfaceclidrushfor

Problem

How to use the drush command: Shell and scripting interface for Drupal. More information: <https://www.drush.org/latest/usage/>.

Solution

drush — Shell and scripting interface for Drupal. More information: <https://www.drush.org/latest/usage/>.

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

Code Snippets

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

Context

tldr-pages: common/drush

Revisions (0)

No revisions yet.