Working with projects (pm-X and user-X)

Drupal gets really interesting when plugging projects into it. A project can be a module, a theme, an installation profile, or a copy of Drupal core. The task of downloading, extracting, and enabling a project is one of the most common ones while building a site. Fortunately, Drush comes with a set of commands to help us work with modules effectively: the Project Manager commands. Let's start working with them through examples.

Viewing project information

pm-releases and pm-releasenotes are very useful tools for inspecting the details of a project prior to downloading it. In the following example, we will use pm-releases to list all available releases for the Freelinking module:

$ drush pm-releases --all ...

Get Drush User's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.