Geek Logbook

Tech sea log book

ASTRONOMER: Install on Windows

Install Astronomer is quite simple In windows you have to follow the following steps:

  1. Install docker
  2. Install Linux on Windows with WSL.
  3. Add the Astro Exe to a location. In general: C\
    • Change the name of the executable
  4. Add the file to the environment variables
  5. Start Docker
  6. Initialize and run your astronomer project

1 – Install docker

Go to the docker’s webpage, download the executable and install it.

Installation succeeded

2 – Install Linux on Windows with WSL

As you can see on the Microsoft documentation you have to run on PowerShell the following command:

wsl --install

3 – Add the Astro Exe to a location.

Go to the Atronomer release page on GitHub and download the .exe according to your architecture. Note: this is not an executable

Add to the location desire (in my case C)

4 – Add the file to the environment variables

Now, if I run Astro:


I can see the Astro-CLI:

5 – Start Docker

If you run:

astro dev start

Before starting Docker you’ll receive the following message:

Error: error creating docker-compose project: error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.project%3Dastrotest_6ce924%22%3Atrue%7D%7D&limit=0": open //./pipe/docker_engine: The system cannot find the file specified.

You only have to find the icon generated for the docker installer:

6 – Initialize and run your astronomer project

initialize the project

C:\Users\Public\Documents\astrotest>astro dev init
Initializing Astro project
Pulling Airflow development files from Astro Runtime 7.2.0
Initialized empty Astro project in C:\Users\Public\Documents\astrotest

Start the project:

astro dev start

Congratulations! You’ve have installed and starting the Astronomer service. You can ran your DAGS in Airflow

Leave a Reply

Your email address will not be published. Required fields are marked *.

You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>