I just did a fresh Drush installation, and now I have version 8.1.15.

When I run drush rr, I get the following error message.

The drush command 'rr' could not be found. Run drush cache-clear drush to clear the commandfile cache if you have installed new extensions.

Even after running drush cache-clear, I still get that rr is not a known command.

Is this still available in Drush 8?

  • 1
    Use drush cr.
    – Kevin
    Jan 13, 2018 at 18:35
  • I think CR is simply drush 8 version of "cc all", isn't it?
    – liquidcms
    Mar 28, 2018 at 17:44
  • cc all doesn't exist in 8. cr is cache-rebuild and will do all of that including rebuild caches related to class discovery and annotations etc.
    – Kevin
    Mar 28, 2018 at 18:08
  • 1
    Note liquidcms is asking for drush 8 not drupal 8
    – FLY
    Apr 13, 2018 at 7:33
  • Could you specify the Drupal version you are using? Drupal 7 and Drupal 8 require different drush commands. Dec 9, 2018 at 11:07

2 Answers 2


Take a look at https://www.drupal.org/project/registry_rebuild

The documentation is there:

How To Use Registry Rebuild With Drush

This is the preferred technique, and it should work with multisite installs.

You can just drush @none dl registry_rebuild-7.x and drush will download it into your .drush folder. (Alternately, you can obtain the package another way and copy the folder into .drush yourself.)

Make a backup of your database.

Clear Drush own cache with drush cc drush

On a multisite install, either use correct drush alias, or cd into the site you're rebuilding, as in cd sites/mymultisite

Run drush rr or drush @sitename rr for soft rebuild (default), or: To force aggressive rebuild from scratch run drush @sitename rr --fire-bazooka

  • Question is regarding Drush 8. I think your answer only applies to Drush 7 and lower.
    – liquidcms
    Aug 10, 2018 at 15:03
  • I'm using drush 8 with drupal 7 projects and the above is working.
    – FLY
    Aug 13, 2018 at 13:26

That command (drush rr) is currently only for Drupal 7.

It does not matter what version of Drush you use since it is enabled for Drush via a module.

The module that enables that command does not work as of now for newer versions of Drupal.

--> Module link is https://www.drupal.org/project/registry_rebuild as stated in the answer by @FLY

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.