Topics 02 Drupal - How to install module in drupal 8 by command line

PTI ACADEMY   |   Oct 08, 2019   |   339

Both the composer and the Drush command line can be used to work in Drupal 8.

install composer if not installed, click here to download

Drush command. click here

Below some easy steps to add the module.

download module

composer require drupal/module-name

Enable downloaded module

drush en module-name

Enable downloaded module

drush en module-name

uninstall downloaded module

drush pm-uninstall module-name