How do I "un-install" Astronomer on my machine?

Installing Astronomer on your machine is really just the CLI. When you run astro airflow start, it creates containers, pulls images, and creates volumes etc that can eventually take up some space. A few cleanup methods:

  1. You can use docker system prune ​ to remove all unused objects.

  2. Run astro airflow stop

    • If you’re working locally and want to stop all running containers and volumes while maintaining the underlying database, run astro airflow stop
    • The underlying database will persist in the docker volume
  3. Run astro airflow kill

    • This is the same as astro airflow stop ​ but will stop local containers AND prune volumes for that project. It’s forcing a restart as fresh as you can get.
    • This includes clearing the database entirely (you won’t see prior DAG runs in the Airflow Web UI)