📜  在 ubuntu 上安装 drush - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:14.158000             🧑  作者: Mango

代码示例1
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
ln -s /usr/local/bin/composer /usr/bin/composer

git clone https://github.com/drush-ops/drush.git /usr/local/src/drush
cd /usr/local/src/drush
git checkout 7.0.0-alpha5  #or whatever version you want.
ln -s /usr/local/src/drush/drush /usr/bin/drush
composer install
drush --version