How to install drush in drupal

1. To install Drupal8.4+ you need to install drush 9. You can easily install it using composer. [sourcecode language=”bash”] composer require drush/drush [/sourcecode] 2. To be able to call drush from anywhere, you need to install the Drush Launcher by downloading – Phar file from https://github.com/drush-ops/drush-launcher/releases/latest. [sourcecode language=”bash”] wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/download/0.5.1/drush.phar [/sourcecode] 3. Make […]

Nasir Uddin June 12, 2013 1 Comment

Drupal drush command

1. Show drupal modules by specific characters drush pml | grep module_name* 2. Uninstall module from enable drush pm-uninstall module_name*