Ive installed Drush and my local system is a Mac. It seems to have worked as when I type drush into the terminal a long list of commands comes up.

When I type drush cc all I get the message 'drush' cache was cleared . Does that mean my path aliases are set up? Or could I be getting a false success message? I have a number of Drupal sites locally and I dont know which (if any) is having its cache cleared.

2 Answers 2


You have to either be within a drupal doc_root (aka apache verbiage) or have properly configured drush site aliases for commands to work:

Eg, if your site lives at /var/www/

cd /var/www/
drush cc all

Or if you have setup a drush site alias of @local, then from anywhere on your system:

drush @local cc all
  • 3
    Also worth mentioning that 'drush' cache was cleared is the message you get when running drush cc all outside of a Drupal doc root. It clear's Drush's own internal cache. I've learned to use it as a quick indicator that I'm not in the folder I think I am
    – Clive
    Commented Oct 9, 2013 at 18:11
  • I have a follow up question that ive asked here drupal.stackexchange.com/questions/88454/…
    – Evanss
    Commented Oct 10, 2013 at 9:39

To answer what in the title of the question is asked:

drush site-alias

lists all site aliases you have defined.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.