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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store