Skip to main content
Home
Drupal life hacks

Main navigation

  • Drupal
  • React
  • WP
  • Contact
  • About
User account menu
  • Log in

Breadcrumb

  1. Home

Enabling a Drupal Module Using Drush (drush en)

By admin, 19 May, 2024

The drush en command is used to enable one or more modules in Drupal. By running this command, you can quickly activate specified modules without having to navigate through the Drupal administrative interface.

Syntax:

bash

drush en module_name

Replace module_name with the machine name of the module you want to enable. You can enable multiple modules by separating their names with spaces.

For example:

bash

drush en example_module another_module

This command will enable both example_module and another_module. For more details, refer to the Drush documentation.

Tags

  • #Drupal Planet
  • Drush

Comments

About text formats

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
Powered by Drupal