Getting Started with Astro
This tutorial walks you through setting up your first Astro project from scratch.
Prerequisites
- Node.js 22 or higher
- A code editor (VS Code recommended)
- Basic familiarity with HTML, CSS, and JavaScript
Step 1: Create a new project
Run the following command to create a new Astro project:
npm create astro@latest
Step 2: Start the dev server
npm run dev
Your site is now running at http://localhost:4321.