-
Notifications
You must be signed in to change notification settings - Fork 51
Document installation via Composer #38
Comments
I have found the opposite. Folks get conflicts when they use |
You could add it as third option. We added homebrew a while ago. @danepowell btw, the phar file has support for self updates. |
@weitzman Can you further qualify & quantify this, please? Looking at http://docs.drush.org/en/master/install/ Drush 9 will support only composer based installations (I am currently on Drush 8.1.15), therefore a well-documented composer based installation would make a lot of sense to me. In fact, I think it should be included in a way in https://github.com/drupal-composer/drupal-project as it would make a lot of sense for those who run many Drupal 8 dev envs on one system - certainly in smaller dev agencies that implement a drupal ops that doesn't proliferate on a "one container per dev env" policy. |
OK, please add it as last option among the 3. |
I like to use composer globally for these tools too, but as there might be conflicts with other global packages I got used to use composer-bin-plugin. In that case the process of installing would be:
|
I think it's easier and more sustainable / generalizable to install Drush Launcher via Composer, rather than manually downloading and placing the Phar file. I'm happen to open a PR if you'd be willing to have this documented in the README.
Basically:
composer global require drush/drush-launcher
.bash_profile
and addexport PATH="$PATH:$HOME/.composer/vendor/bin"
The text was updated successfully, but these errors were encountered: