Create a new directory for your Astro project:
Open the directory:
Run the following Astro CLI command to initialize an Astro project in the directory:
astro dev init
This command generates a set of files that will build into a Docker image that you can both run on your local machine and deploy to Astro.
(Optional) Run the following command to initialize a new git repository for your Astro project: