Forrest logo
back to the drush tool

drush:tldr:c3bb4

drush: Uninstall module "foo".
$ drush pmu ${foo}
try on your machine

This command is using the Drush command-line tool to uninstall a Drupal module. Here's how it breaks down:

  • "drush" is the command to execute Drush.
  • "pmu" stands for "pm-uninstall", which is the Drush command for uninstalling a module.
  • "${foo}" is a placeholder for the name of the module you want to uninstall. The "$" and curly brackets indicate that "foo" is a variable. You would replace "${foo}" with the actual name of the module you want to uninstall.

For example, if you want to uninstall the "example_module" module, the command would be: drush pmu example_module

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the drush tool