> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro dev stop

<Info>The behavior and format of this command are the same for both Astro and Astro Private Cloud.</Info>

Pause all Docker containers running your local Airflow environment. Unlike `astro dev kill`, this command does not prune mounted volumes and delete data associated with your local Postgres database. If you run this command, Airflow connections and task history will be preserved.

This command can be used regularly with `astro dev start` to apply changes to your Astro project as you test and troubleshoot dags. For more information, read [Build and run a project locally](/docs/cli/v1.40/run-airflow-locally).

## Usage

```sh wrap theme={null}
astro dev stop
```

<Note>
  In standalone mode, this command stops the Airflow processes running on your machine. If you started your environment with `astro dev start --standalone` without setting `dev.mode` to `standalone`, pass `--standalone` so this command stops your standalone environment:

  ```bash wrap theme={null}
  astro dev stop --standalone
  ```
</Note>

## Related commands

* [`astro dev start`](/docs/cli/v1.40/astro-dev-start)
* [`astro dev restart`](/docs/cli/v1.40/astro-dev-restart)
* [`astro dev kill`](/docs/cli/v1.40/astro-dev-kill)
