Logo Knowledge
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  1. Acquia Support Knowledge Base
  2. How-To
  3. Tips & Tricks

Clearing drush cache

    See more
    • Updated
    • November 26, 2020 12:24

    Issue

    Drush cache needs to be cleared.

    Resolution

    In order to run a drush cache clear you simply need to run the following command:

    drush cc drush

    If for whatever reason this command doesn’t work or the cache hasn’t been fully cleared, you can manually remove the contents by using the following:

    rm -rf ~/.drush/cache/*

    Cause

    When drush changes take place such as the addition of new drush commands, drush might behave in unexpected ways. A good first step to troubleshooting issues such as these is to run a cache clear on drush itself.

    Topics

    • drush
    • cache
    Avatar
    Matt Farineau
    • November 26, 2020 12:24
    • Updated
    • Facebook
    • Twitter
    • LinkedIn

    Was this article helpful?
    2 out of 4 found this helpful

    Return to top

    Related articles

    • Increasing the memory limit for Drush
    • Managing Configuration with Config Split
    • DevDesktop Using API v2 Login Error
    • Introduction to .htaccess rewrite rules
    • Creating releases and deploying code on Acquia Cloud

    Support

    Acquia Support Knowledge Base
    • Submit a Request
    • Contact Support
    • Acquia Support Guide
    • Product Documentation
    • System Status

    About Acquia

    • About Us
    • Leadership
    • Board of directors
    • Newsroom
    • Careers
    • Customers
    • Contact Us
    53 State Street, 10th Floor
    Boston, MA 02109
    United States
    Phone: 888-922-7842
    Map: Google Maps
    View other locations
    • Feeds
    • Legal
    • Security Issue?

    Copyright © 2018 Acquia Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.