Table of Contents generated with DocToc
The Drupal Console is a suite of tools that you run on a command line interface (CLI) to generate boilerplate code and interact with a Drupal 8 installation.
Drupal Console is only compatible with Drupal 8, some version of which must be installed in order to run Drupal Console commands.
You can read or download the Drupal Console documentation at bit.ly/console-book.
# Run this in your terminal to get the latest Console version:
curl -LSs http://drupalconsole.com/installer | php
# Or if you don't have curl:
php -r "readfile('http://drupalconsole.com/installer');" | php
# You can place this file anywhere you wish.
# If you put it in your PATH, you can access it globally.
# For example: move console.phar and rename it, 'drupal':
mv console.phar /usr/local/bin/drupal
# Show all available Drupal Console commands.
drupal
# Generate a module.
drupal generate:module