Sun, 08/09/2020 - 18:28
This option installs Drupal Console via composer
- Type and execute the following command
composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
- To ensure you can run drupal from any directory type
echo 'alias drupal="/home/username/public_html/drupal_dir/vendor/bin/drupal"' >> ~/.bashrc
source ~/.bashrc
- Test installation by executing the command bellow
drupal site:status
Authored by