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.
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
# To access the Console from anywhere your system,
# move console.phar and rename it to drupal:
mv console.phar /usr/local/bin/drupal
# Show all available Drupal Console commands.
drupal
# Generate a module.
drupal generate:module