Last active
September 30, 2015 12:56
-
-
Save jonhattan/ef9f21d65c48faf2cf73 to your computer and use it in GitHub Desktop.
<strike>oneliner</strike> several-liner to install composer and drush system-wide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
COMPOSER_HOME=/opt/drush COMPOSER_BIN_DIR=/usr/local/bin COMPOSER_VENDOR_DIR=/opt/drush composer require drush/drush:7 | |
cd /opt/drush/drush/drush/ | |
composer install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment