---
title: "Local development with Acquia CLI"
date: "2024-02-14T06:18:38+00:00"
summary: "Streamline your local development with Acquia CLI. Easily sync databases and files between your local environment and Acquia Cloud Platform. Set up in minutes for seamless integration."
image:
type: "page"
url: "/acquia-cloud-platform/add-ons/acquia-cli/local-development-acquia-cli"
id: "a6c38808-ee16-4df0-9c3c-7b105d506266"
---

You can use Acquia CLI with your local development environment to facilitate integration with [Cloud Platform](/acquia-cloud-platform).

With Acquia CLI, you can:

*   Pull your database and Drupal files from [Cloud Platform](/acquia-cloud-platform) to your local machine
    
*   Push your database and Drupal files from your local machine to [Cloud Platform](/acquia-cloud-platform)
    

To integrate your local development solution with [Acquia CLI](/acquia-cloud-platform/add-ons/acquia-cli), set the following environmental variables to match your local database settings:

*   `ACLI_DB_HOST`
    
*   `ACLI_DB_NAME`
    
*   `ACLI_DB_USER`
    
*   `ACLI_DB_PASSWORD`
    

Note

The variables are already set when you use a recommended local development solution, such as Lando.

For more information about local development solutions, see [Local development](/acquia-cloud-platform/add-ons/acquia-cli/docker).

For information about adding your custom code before or after an Acquia CLI command, see [Hooking into Acquia CLI commands](/acquia-cloud-platform/add-ons/acquia-cli/examples#hooking-into-acquiacli).