> ## 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 kill

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

Force-stop and remove all running containers for your local Airflow environment. Unlike [`astro dev stop`](/docs/cli/v1.42/astro-dev-stop), which only pauses running containers, `astro dev kill` deletes all data associated with your local Postgres database. This includes Airflow connections, logs, and task history.

For more information, read [Hard reset your local environment](/docs/cli/v1.42/run-airflow-locally#hard-reset-your-local-environment) or [Build and run a project locally](/docs/cli/v1.42/run-airflow-locally).

## Usage

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

<Note>
  In standalone mode, this command stops the Airflow processes and removes the virtual environment, database, and logs. If you started your environment with `astro dev start --standalone` without setting `dev.mode` to `standalone`, pass `--standalone` so this command resets your standalone environment.
</Note>

## Related commands

* [`astro dev start`](/docs/cli/v1.42/astro-dev-start)
* [`astro dev stop`](/docs/cli/v1.42/astro-dev-stop)
