7

Is there a way for drush to print out what module version for a module that is currently enabled?

I'm not looking for trying to find what version of drush is.

I end up doing it the janky way:

drush dl mymodule --select and then seeing which version is installed.

Or drush pm-list | grep mymodule

19

Try using drush pm-info module. It may give you what you want.

8

You can use the shortcut:

drush pmi [module]
3

This will give you a list of all the currently enabled, contrib(i.e., non-core), modules on your site along with the exact version number:

drush pm-list --type=module --no-core --status=enabled

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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