Skip to content


Return the filesystem path for modules/themes and other key folders.


  • cd $(drush dd devel). Navigate into the devel module directory
  • cd $(drush dd). Navigate to the root of your Drupal site
  • cd $(drush dd files). Navigate to the files directory.
  • drush dd @alias:%files. Print the path to the files directory on the site @alias.
  • edit $(drush dd devel)/devel.module. Open devel module in your editor


  • [target]. A module/theme name, or special names like root, files, private, or an alias:path string such as @alias:%files.


  • --local-only. Reject any target that specifies a remote site.

Global Options

  • -v|vv|vvv, --verbose. Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  • -y, --yes. Auto-accept the default for all user prompts. Equivalent to --no-interaction.
  • -l, --uri=URI. A base URL for building links and selecting a multi-site. Defaults to https://default.
  • To see all global options, run drush topic and pick the first choice.


  • dd
  • drupal-directory


  • An argument or option with square brackets is optional.
  • Any default value is listed at end of arg/option description.
  • An ellipsis indicates that an argument accepts multiple values separated by a space.