How to install a Drupal 7 module

Drupal allows you to add modules to your codebase to provide additional functionality by installing modules that have been contributed to the module archive at Drupal.org.

Procedure

After selecting an appropriate new module, you must install and enable the module on your website in order to use it. The two primary methods are:

Installing modules using the user interface

Use the following procedure to install a module from the Drupal interface:

  1. Download and extract the module that you want to use your website's docroot/sites/all/modules/ directory. For more information about the docroot directory, see the Docroot definition article.
  2. Sign in to your website as an administrator.
  3. View the Modules page by using one of the following methods:
    • In the administrative menu, click Modules.
    • In your browser's address bar, go to http://[your_site]/admin/modules (where [your_site] is your website's URL).
  4. In the module list, find the module that you installed, and then select its check box.
  5. Scroll to the bottom of the webpage, and then click Save configuration.

Installing modules using Drush

For more advanced users who are familiar with the command line, you can also install and enable modules using a Drush command. This process requires that you connect to your server by using SSH. For more information, see Using SSH/Shell access. To install a module using Drush, 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 Drupal.org. (For example, the project name for the Acquia Connector module is acquia_connector, from https://www.drupal.org/project/acquia_connector.)

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 Drupal.org project page.

Contact supportStill need assistance? Contact Acquia Support