Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I'm trying to figure out why many drush commands aren't working.

drush theme list also reports:

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

I'm mildly certain I installed drush via brew install drush.

Any tips?

share|improve this question
    
drush pm-list --type=theme works but I don't see why drush theme list doesn't ... drupal.org/node/530780 –  AlxVallejo Mar 14 at 18:45
    
Ah, I didn't realize drush.org hadn't been updated for awhile. That's too bad. –  Melissa Jul 16 at 0:42
add comment

1 Answer 1

up vote 5 down vote accepted

self-update was removed a while ago. I'm not sure what the official replacement is, but a simple git pull; composer install does the job for me with the latest version (run it in the drush lib folder, probably in /usr/local/Cellar if it was brewed).

theme list (and theme) don't appear in the list of available commands (although self-update does, ironically). Maybe you're looking for

drush pm-list --type=theme
share|improve this answer
1  
I'm with Clive, (git's the best way to download and manage your drush instance) but I've never needed to run composer install. I git clone from https://github.com/drush-ops/drush. Then I can checkout any version of drush (sometimes functions don't work as expected) with git checkout tags/7.x-5.9 or whichever is best. –  Screenack Mar 26 at 12:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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