Composer und Drush für Drupal auf Domainfactory

Submitted by sschulz on Sa, 07/15/2017 - 11:31

curl -sS https://getcomposer.org/installer | php7

Das alles in die .bashrc 

alias php5cli='/usr/local/bin/php5-56LATEST-CLI'
alias composer='php5cli ~/composer.phar'
alias php='/usr/local/bin/php5-56LATEST-CLI'
export DRUSH_PHP=/usr/local/bin/php5-56LATEST-CLI

alias drush='php5cli ~/.composer/vendor/bin/drush'

und dann:
composer global require drush/drush:dev-master

danach source .bashrc damit die neue config auch geladen wird.