cd~

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

php composer.phar

查看环境变量;

echo $PATH

 

移动并重命名

sudo mv composer.phar /usr/local/bin/composer
用composer安装drush
composer global require drush/drush:dev-master

 

 

Recent Posts