[[config-install]]
=== Installing a Module

[role="summary"]
How to install a core or contributed module, using the administrative interface
or Drush.

(((Module,enabling)))
(((Module,installing)))

==== Goal

Install a core module, or a contributed module whose files have already been
uploaded to the site, through the administrative interface or using Drush.

==== Prerequisite knowledge

<<understanding-modules>>

==== Site prerequisites

If you want to use Drush to install modules, Drush must be installed. See
<<install-tools>>.

==== Steps

You can use the administrative interface or Drush to install modules.

===== Using the administrative interface

. In the _Manage_ administrative menu, navigate to _Extend_
(_admin/modules_). The _Extend_ page appears showing all the available modules
in your site.

. Check the boxes for the module or modules you want to install. For example,
check the box for the core Activity Tracker module.
+
--
// Top part of Core section of admin/modules, with Activity Tracker checked.
image:images/config-install-check-modules.png["Enabling the core Activity Tracker module",width="100%"]
--

. Click _Install_. The checked modules will be installed.

===== Using Drush

. In the _Manage_ administrative menu, navigate to _Extend_
(_admin/modules_). The _Extend_ page appears showing all the available modules
in your site.

. Find the machine name of the module you want to install, by expanding the
information area for the module. For instance, the core Activity Tracker
module's machine name is _tracker_.

. Run the following Drush command to install the module:
+
----
drush pm:enable tracker
----

==== Expand your understanding

If you do not see the effect of these changes in your site, you might need
to clear the cache. See <<prevent-cache-clear>>.

// ==== Related concepts

==== Videos

// Video from Drupalize.Me.
video::https://www.youtube-nocookie.com/embed/HymQsDOcT3E[title="Installing a Module"]

==== Additional resources

http://www.drush.org[Drush]


*Attributions*

Written and edited by https://www.drupal.org/u/batigolix[Boris Doesborg] and
https://www.drupal.org/u/jhodgdon[Jennifer Hodgdon].
