Install Drupal console (basic usage) | Drupal 8

Install Drupal console (basic usage)

Submitted by editor on Fri, 07/21/2017 - 09:08

How to install and use drupal console with drupal 8 ?

Download and Install


Download drupal console

curl -L -o drupal.phar
# OR
php -r "readfile('');" > drupal.phar
sudo mv drupal.phar /usr/local/bin/drupal
chmod +x /usr/local/bin/drupal

Include drupal console to your project.

composer require drupal/console:~1.0

Initialize drupal console.

drupal init





Update drupal console

drupal self-update

The autocomplete feature.

#Bash or Zsh: Add this line to your shell configuration file:
source "$HOME/.console/console.rc" 2>/dev/null
#Fish: Create a symbolic link
ln -s ~/.console/ ~/.config/fish/completions/


Basic Usage

The full documentation is available from :


Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.