How to
Drush is an awesome shell interface for managing Drupal right from your command line.
Drush is a great tool for quickly managing routine tasks with a Drupal installation.
Drush allows you to search the drupal.org site, install Drupal, enable modules, clear caches and much more.
CR = Cache Rebuild (clears caches)
OR
$ drush en pathauto -y
Example:
$ drush pm-uninstall pathauto
Unique Login Identifier
Generates one-use login-url's
$ drush uli --uri http://pietermathys.dd:8083/
Perform database updates
Use the Acquia terminal
Test if it works?
$ drush status
If error
try:
$ composer require drush/drush:9.*
HP Fatal error: Declaration of Drush\Command\
DrushInputAdapter::hasParameterOption($values)
must be compatible with Symfony\Component\
Console\Input\InputInterface::hasParameterOption
($values, $onlyParams = false) in /Applications/
DevDesktop/tools/vendor/drush/drush/lib/Drush/Command/DrushInputAdapter.php on line 27
Follow this guide:
Acquia Dev Desktop is excellent, and includes Drush. See the terminal icon after setting up a web site.
Or consider running Linux/OSX via Virtualbox. Drupal VM and Vlad are popular.* These Windows packages include Drush and its dependencies (including MSys). * 7.0.0 (stable). * 6.6.0. * 6.0.
Or install LAMP on your own, and run Drush via Git's shell, in order to insure that all depedencies are available.