drush/drush
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
chi-teck/drupal-code-generator | 3.5.0 | - | GPL-2.0-or-later | prod | 1 |
composer/semver | 3.4.0 | 28.21 kB | MIT | prod | |
consolidation/annotated-command | 4.10.0 | - | MIT | prod | |
consolidation/config | 2.1.2 | 39.41 kB | MIT | prod | |
consolidation/filter-via-dot-access-data | 2.0.2 | 51.87 kB | MIT | prod | |
consolidation/output-formatters | 4.5.0 | 91.97 kB | MIT | prod | |
consolidation/robo | 4.0.6 | 229.81 kB | MIT | prod | |
consolidation/site-alias | 4.1.0 | - | MIT | prod | |
consolidation/site-process | 5.4.0 | - | MIT | prod | |
grasmash/yaml-cli | 3.2.1 | - | MIT | prod | |
guzzlehttp/guzzle | 7.8.1 | 112.34 kB | MIT | prod | |
league/container | 4.2.2 | - | MIT | prod | |
symfony/event-dispatcher | v6.4.7 | - | MIT | prod dev | |
symfony/filesystem | v6.4.7 | - | MIT | prod dev | |
symfony/finder | v6.4.7 | - | MIT | prod | |
symfony/var-dumper | v6.4.7 | - | MIT | prod dev | |
symfony/yaml | v6.4.7 | - | MIT | prod dev | |
webflo/drupal-finder | 1.3.0 | - | GPL-2.0-or-later | prod | 1 |
Drush, also known as the Drupal Shell, is a comprehensive command line utility and Unix scripting interface specifically designed for Drupal. Acting as a robust Swiss Army knife for developers, it boosts efficiency by enabling them to perform a multitude of Drupal tasks right from the command prompt.
To use Drush, it needs to be installed and executed via the command line. Start by installing Drush using Composer, in your command line, type the following code:
composer require drush/drush
Once installed, an extensive list of commands allow you to interact with Drupal directly from the command prompt. Here's an example:
drush status
This command will display the status report of your Drupal installation, similar to the report you would see in a Drupal administrative interface. Another common use of Drush is to clear the cache. Here's the command to do just that:
drush cache-clear all
Different versions of Drush support different Drupal versions. So, depending on the Drupal version you're using, you may need to use a corresponding Drush version.
Full documentation for Drush, along with usage examples and explanatory content, can be found at www.drush.org. This site is the primary resource for obtaining the most up-to-date information about Drush. Users seeking support may also post queries on Drupal Answers using the tag 'drush' and report bugs, request features, or report security vulnerabilities on the GitHub Drush Issue Queue. Lastly, contributors are encouraged to use pull requests (PRs) to help enhance Drush.