Drupal9下怎样安装Drush

By admin, 22 一月, 2021

sudo apt install composer

对于Drupal7,运行composer global require drush/drush:7.x,drush会被安装到~/.config/composer/vendor/bin/drush

对于Drupal9,在Drupal9目录下运行composer require drush/drush,drush会被安装到vendor/bin/drush

安装完后创建一个符号链接到/usr/local/bin/drush以方便调用。

参考:https://docs.drush.org/en/7.x/install/

标签

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"

最新内容

最新评论