I installed Drush via Composer (like the Drush site recommends). Every time I run drush dl drupal-7.x
, I get a message telling me that I should use Composer.
[notice] dl has been deprecated. Please build your site using Composer. Add new projects with composer require drupal/[project-name]. Use https://www.drupal.org/project/composer_generate to build a composer.json which represents the the enabled modules on your site.
I downloaded Drupal 8 following these instructions for installing Drupal via Composer, but when I run drush dl devel
in that project I get this message.
This codebase is assembled with Composer instead of Drush. Use
composer update
andcomposer require
instead ofdrush pm-updatecode
anddrush pm-download
. You may override this error by using the--pm-force
option.
Is there something wrong with my local env, or is Drush a thing of the past now?