Using different Drush versions in containers

As Cloud Platform containers support several versions of Drush, Cloud Platform provides a set of aliases you can use to access specific Drush major versions for your use.


Drupal 9 only supports Drush 10.

To run a specific version of Drush, specify the major version in the drush command. For example:

  • Drush 10: drush10
  • Drush 9: drush9
  • Drush 8: drush8

To run the default version of Drush (which is Drush in Cloud Platform containers) use the drush command.

Note for pipelines feature users

Acquia strongly recommends you always run a specific major version of Drush. Running the default version of Drush is dangerous because the behavior of your build definition file may change when a new version of Drush becomes the default.

Using Drush 9 or Drush 10 with your container

Drush 9 and Drush 10 aren’t installed in your Cloud Platform-supplied container. If you want to use Drush 9 or Drush 10 with your application, you must include it as a requirement in your application’s composer.json file.