Question

I installed Drush 8 using cgr (which is a safer replacement for composer global require):

cgr drush/drush:8.x-dev --prefer-source

But now I also want to install Drush 9 for certain sites. Is there a way to switch between Drush 8 and 9 easily?

Was it helpful?

Solution

As you probably know newer Drush versions have to be installed locally. Go ahead with installing Drush 10 (Drush 9 is EOL) for certain sites. The globally installed Drush acts as Drush Launcher and will find local Drush installs.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top