Skip to main content

Utilities

Articles tagged to Utilities.

How to use 'drush' instead of 'vendor/bin/drush' to call Drush - cool Drupal tip

Posted by Ferdinand on October 31, 2020 | Comments
With Drupal adopting the use of Composer to manage code as from Drupal 8 upwards, this has also affected the installation of Drush. Now all you need is to run a single Composer command to install it. Composer installs Drush inside the 'vendor' directory and makes it available at vendor/bin/drush, but you want to use the traditional drush command and not vendor/bin/drush. What are ways you can achieve this? Check in and get the info.