How to Install a Module Drupal from the command line?

--

Assuming you have a docker setup (lando), are installing modules via composer at the command line.

Install the module with the following command…

lando composer require drupal/[module-name]

Enable the module via the admin dashboard (admin/modules) or by the command line with the following…

lando drush en [module-name]

Clear cache

lando drush cr

--

--

Melanie Graham
Melanie Graham

No responses yet