directory-setup
Create a new directory for your Astro project:
mkdir <your-astro-project-name>
Open the directory:
cd <your-astro-project-name>
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:
git init