How to install Drupal Console

If you don't have Drush and Composer installed yet, please do it firstly click here

cd
mkdir drupalconsole
cd drupalconsole
curl https://drupalconsole.com/installer -L -o drupal.phar
chmod +x drupal.phar
echo "alias drupal='~/drupalconsole/drupal.phar'" >> ~/.bashrc
source .bashrc

Navigate into your site root where you have Drupal installed

cd /home/$USER/public_html
composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader --sort-packages

Check how its working:

drupal site:status
drupal about

Useful URLs:

https://docs.drupalconsole.com/en/getting/composer.htmlRead the rest