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.


  • 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.