Drush is scripting interface for Drupal. The best way to install drush is per-project basic.
Run composer require
In most the case, Drush can install with dev-dependency. You can run the below command in Durpal base directory
composer require --dev drush/drush
Once the drush is installed, you can navigate to below and run Drush commands.
It list Drush version.
./vendor/bin/drush --version
Comments