PHPackages                             keyboardcowboy/drush-multidrush - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. keyboardcowboy/drush-multidrush

ActiveDrupal-drush[Utility &amp; Helpers](/categories/utility)

keyboardcowboy/drush-multidrush
===============================

Manage multiple versions of Drush.

012

Since Nov 11Compare

[ Source](https://github.com/KeyboardCowboy/drush-multidrush)[ Packagist](https://packagist.org/packages/keyboardcowboy/drush-multidrush)[ RSS](/packages/keyboardcowboy-drush-multidrush/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MultiDrush
==========

[](#multidrush)

Manage multiple versions of Drush on your server.

References
----------

[](#references)

- [MultiDrush on Packagist](https://packagist.org/packages/keyboardcowboy/drush-multidrush)
- [Install Drush](http://docs.drush.org/en/master/install/)
- [Install Composer](https://getcomposer.org/download/)

Requirements
------------

[](#requirements)

Currently you must have composer installed and discoverable in your `$PATH` as either `composer.phar` or `composer`.

You must also have `drush` already installed. That was the easiest way to get this off the ground.

There is [an issue](https://github.com/KeyboardCowboy/drush-multidrush/issues/1)to provide additional download options, but it adds significant complexity and time. I promise I'll work on it, but for now it's probably easier to simply [install composer](https://getcomposer.org/).

There is also [an issue](https://github.com/KeyboardCowboy/drush-multidrush/issues/5)to get this running without needing to first install drush.

Why?
----

[](#why)

Each version of Drupal requires a different version of Drush. If you are running multiple versions of Drupal, you will need multiple versions of Drush.

Who?
----

[](#who)

The main use case is developers who have already been using Drush to manage D6 or D7 sites and are now getting involved in D8 and must have multiple versions of Drush available depending on the site they are working on.

Or use Vagrant instead. That works too.

Installation
------------

[](#installation)

### With Composer

[](#with-composer)

1. Run `composer require keyboardcowboy/drush-multidrush` inside any directory drush can scan.
2. Run `drush cc drush` to clear drush's cache.
3. Run `drush mdi` to download Drush 6, 7 and 8 and configure your `$PATH`

Commands
--------

[](#commands)

- `drush multidrush-init (mdi)`
    Download Drush 6, 7 and 8 and prepare your `$PATH` to look for this version of Drush.
- `drush multidrush-switch (mds, switch)`
    Switch to a different version of Drush.

How it Works
------------

[](#how-it-works)

Through the clever use of symlinking, we can switch which version of Drush is found on the `$PATH`. Currently we use composer to download three versions of drush and then symlink to whichever you want to use.

Dependencies
------------

[](#dependencies)

- [Composer](https://getcomposer.org/)

Roadmap
-------

[](#roadmap)

The composer dependency is restrictive, I know. I just need a little time ([or some help](https://github.com/KeyboardCowboy/drush-multidrush/issues/1)) to implement alternative download methods.

I could also use some help checking this cross-platform. Currently it works great on my Mac. That's all I know.

Troubleshooting
---------------

[](#troubleshooting)

- Make sure you do not have a version of Drush downloaded into any of the places Drush looks for plugins. If you do and switch to a version that is not the same as the one in this directory, it's basically the same as crossing the streams.

    - /etc/drush
    - ~/.drush
    - /sites/all/drush

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6067f952738d7618fb6fbcf8998f07451cd09ed5a0885513e1084ae416571303?d=identicon)[KeyboardCowboy](/maintainers/KeyboardCowboy)

---

Top Contributors

[![KeyboardCowboy](https://avatars.githubusercontent.com/u/1002715?v=4)](https://github.com/KeyboardCowboy "KeyboardCowboy (1 commits)")

### Embed Badge

![Health badge](/badges/keyboardcowboy-drush-multidrush/health.svg)

```
[![Health](https://phpackages.com/badges/keyboardcowboy-drush-multidrush/health.svg)](https://phpackages.com/packages/keyboardcowboy-drush-multidrush)
```

###  Alternatives

[creocoder/yii2-translateable

The translateable behavior for the Yii framework

9968.8k5](/packages/creocoder-yii2-translateable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
