How to install Drupal console

The Drupal console is a very useful tool that allows you to manage your Drupal application from CLI. You can use it to configure and debug your Drupal website, install, modify and delete extensions or themes and many other things.

To be able to use the Drupal console, you must first have a Drupal 8.x application installed. You can check our detailed tutorial for more information how to perform the Drupal installation.

Once Drupal is installed, you can install the Drupal console. First you need to log in your account via SSH and then navigate to the folder where your Drupal is located.

After that, execute the following command:

and allow the installation some time to complete.

Once it is completed, the Drupal console binary file will be located at:

For example, to run the site:status command for your application, you can execute this command:

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!