Information for: DEVELOPERS   PARTNERS

Choosing a development environment

Acquia recommends Cloud IDE as the best environment for Drupal development. With Cloud IDE, you still have your own development environment, but now it’s in the Cloud. That means you don’t have to download, install or troubleshoot software on your own machine.

Learn how to get started with Cloud IDE.

If you’re not able to use Cloud IDE, Acquia provides limited integration with Lando , which is a Docker-based local environment.

Acquia doesn’t maintain nor support Lando. However, Acquia will support the integration of Acquia CLI’s push:* and pull:* sub-commands with Lando environments.

To create a new Acquia-compatible application in a local Lando environment, download and install Lando and run the following commands. This will:

composer create-project acquia/drupal-recommended-project my-new-app
cd my-new-app \
lando init \
  --source cwd \
  --recipe drupal9 \
  --webroot docroot \
  --name my-new-app
git init && git add . && git commit -m "Initial commit."
lando start
lando ssh
curl -OL https://github.com/acquia/cli/releases/latest/download/acli.phar && chmod +x acli.phar && mv acli.phar /usr/local/bin/acli
acli auth:login
// Do work.
acli push

To use Lando with an existing Acquia Cloud Platform application, run the following commands inside of your project directory on your local machine. This will:

  • Initialize a new local Lando environment for your project using the Drupal 9 Lando recipe.
  • Commit the Lando configuration to your repository.
  • Install Acquia CLI’s within the Lando environment.
  • Pull your Acquia Cloud Platform application’s code, database, and files into the Lando environment.
lando init \
  --source cwd \
  --recipe drupal9 \
  --webroot docroot \
  --name my-new-app
git add .lando.yml && git commit -m "Adding Lando configuration."
lando start
lando info
// Ensure that your local settings.php file's database credentials match
// the displayed MySQL credentials.
lando ssh
curl -OL https://github.com/acquia/cli/releases/latest/download/acli.phar && chmod +x acli.phar && mv acli.phar /usr/local/bin/acli
acli auth:login
acli pull