-
Notifications
You must be signed in to change notification settings - Fork 0
drupal install
Paulo Maia Carvalho edited this page May 20, 2026
·
1 revision
Install a contrib module from Drupal.org via Composer and enable it with Drush.
/drupal-install token
/drupal-install admin_toolbar
/drupal-install module=pathauto
- Runs
composer require drupal/<module>inside the project root. - Runs
drush en <module>to enable the module. - Runs
drush crto rebuild caches. - Reports the installed version.
- The module name must match the Drupal.org machine name (the part after
drupal/on Packagist). - Composer resolves the latest version compatible with your installed Drupal core.
- If the module has sub-modules, only the base module is enabled. Enable sub-modules manually with
/drupal-db-queryor by asking the agent.
/drupal-install admin_toolbar
/drupal-install token
/drupal-install pathauto
/drupal-install metatag
/drupal-install redirect
- drupal-module — scaffold a new custom module instead
- drupal-cr — rebuild caches after enabling modules
- drupal-status — verify module is listed as enabled