Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please do not recommend composer global require #183

Open
greg-1-anderson opened this issue Jul 11, 2019 · 1 comment
Open

Please do not recommend composer global require #183

greg-1-anderson opened this issue Jul 11, 2019 · 1 comment
Assignees
Milestone

Comments

@greg-1-anderson
Copy link

See Fixing the Composer Global Command.

I would recommend something like:

COMPOSER_BIN_DIR=/usr/local/bin composer -n --working-dir=/usr/local/share/drush require  drush/drush "^8.3.0"

This presumes, though, that /usr/local/bin and /usr/local/share/drush exist and are writable. You might also recommend installing to $HOME/.composer/vendor/bin and $HOME/.composer/global, or perhaps just point at cgr.

@serundeputy
Copy link
Member

Thanks @greg-1-anderson

I think that is good advice (very interesting reading). I'll take some time to re-write the README.md to reflect this.

@serundeputy serundeputy self-assigned this Jan 19, 2020
@serundeputy serundeputy added this to the 1.2.1 milestone Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants