Table of Contents
Commands
published: 2026-07-23
| Command | What it does |
|---|---|
npm install astro |
Installs astro |
astro dev |
Starts the local development server with live updates. |
astro build |
Builds the project for production, outputting static files to a dist/ directory. |
astro preview |
Locally previews the built site. |
astro check |
Runs diagnostics and type-checking for errors. |
astro add |
Adds integrations to the project |