Forrest logo
back to the drupal tool

drupal:modules:install

Install a module.
$ drupal module:install ${module_name}
try on your machine

This command installs a Drupal module identified by the variable ${module_name}. The "drupal module:install" part of the command indicates that we are using Drupal's command-line interface (CLI) to install a module. The "${module_name}" variable should be replaced with the actual name of the module we want to install, without the curly braces {}. For example, if we wanted to install the Views module, the command would be: drupal module:install views This command would download and install the Views module in Drupal, making it available to use on our website.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the drupal tool