Drupal Console for Drupal 8, 9

Drupal Console provides a command line utility for performing common site administration tasks, code generation scaffolding, and a Read-Evaluate-Print-Loop for interacting with your Drupal site. In addition to using the code generation tools for scaffolding new functionality they can also be used as an educational tool to learn about the various parts of different Drupal subsystems.

Example tasks

  • Use Drupal Console to perform common site administration tasks, like rebuilding the cache, importing configuration, or executing Cron
  • Use Drupal Console's code generation tools to create a new custom module
  • Use the shell command to interact with your Drupal site in a Read-Evaluate-Print-Loop


Drupal Console is no longer actively developed, but it still can provide some valuable tools, not all of which are available in Drush.

Drupalize.Me resources

Drupal 8, 9
More information

The Drupal Console is a suite of tools run from a command line interface (CLI) to generate boilerplate code and interact with a Drupal installation.

Note: This project is no longer actively maintained. See the Drush topic for alternative solutions.


Not sure where to start? Our guides provide useful learning tracks for all skill levels.

Navigate guides

External resources

  • Drupal Console GitHub repository (
    • This is the canonical source for the Drupal Console codebase. It contains links to many of the other resources mentioned here.
  • Drupal Console documentation (
  • This is the official source for Drupal Console documentation (available in several languages). This documentation includes installation instructions as well as thorough documentation for each of the commands available in Drupal Console.