O'Reilly logo

Drush User's Guide by Juan Pablo Novillo Requena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required