How to install a Drupal 8 module

By design, Drupal does not do everything, and it shouldn't be expected to. But, Drupal was built to allow you add modules to your codebase to provide additional functionality.

Although you can create your own custom modules to meet your needs, you can also install one or more modules that have been contributed to the module archive at

Using Composer

The Drupal community has a great deal of support for using Composer to install Drupal packages through

Other installation methods

After you select a module to use with your Drupal 8 website, you must then install and enable the module on your website to be able to use it. There are two primary methods that you can use to do this: using the Drupal user interface, or by using Drush.

Drupal interface

  1. Download and extract the module that you want to use your website's docroot/modules/ directory.
  2. Sign in to your website as an administrator.
  3. Click Extend in the admin menu to view the Modules page.
  4. In the module list, find the module that you installed, and then select its check box.
  5. At the bottom of the webpage, click Install.


For more advanced users who are familiar with the command line, you can also install and enable modules using a Drush command. To do this, complete the following steps:

  1. Open a command prompt to access your website's code.
  2. Using the cd command, navigate to your website's docroot.
  3. Run the following command:
    drush en module_name

    where module_name is the project name from (For example, the project name for the Acquia Connector module is acquia_connector, from

Next steps

After you have installed a module on your website, you will probably need to configure the module's settings or make changes to website user permissions. For additional information regarding these next steps, be sure to review the documentation provided either with your module or on your module's project page.

Contact supportStill need assistance? Contact Acquia Support