Astro โ Run and Build
Requirements:
- Node.js 18.14+ (LTS recommended)
 
Create a new site:
npm create astro@latest my-astro-sitecd my-astro-sitenpm installRun locally:
npm run devVisit http://localhost:4321
Build for production (output to dist/):
npm run buildPreview the production build:
npm run previewDeploy dist/ to your static host. Many hosts provide firstโclass Astro adapters or static hosting.