How To Install Drupal Console For Drupal 8 !!

Ultimate-Guide_-How
Default Avatar
By Jayesh Makwana

Table of Contents

About Author

Default Avatar

Jayesh Makwana

Experienced Drupal developer and content creator. Passionate about open source technologies and web development best practices.

$: curl https://drupalconsole.com/installer -L -o drupal.phar
$: php drupal.phardrupal 8 console
$: mv drupal.phar /usr/local/bin/drupal
$: chmod +x /usr/local/bin/drupal
$: drupal initdrupal 8 console
$: source “$HOME/.console/console.rc” 2>/dev/null $: ln -s ~/.console/drupal.fish ~/.config/fish/completions/drupal.fish Congratulations!!! You, just installed Drupal console on our system. Note: If you want to allow your project use Drupal Console for selected projects from other projects then you need to run below command. This is done using Composer. $: composer require drupal/console:~1.0 –prefer-dist –optimize-autoloader