astro

CLI provided by Astro to develop, build, and preview your project from a terminal window

Subcommands

NameDescription
addAdd an integration
buildBuild your project and write it to disk
checkCheck your project for errors
devStarts the development server
docsOpen documentation in your web browser
previewPreview your build locally
syncGenerate content collection types
telemetryConfigure telemetry settings

Options

NameDescription
--config <path>
  • Persistent ⚖
--root <path>
  • Persistent ⚖
--site <url>
  • Persistent ⚖
--base <pathname>
  • Persistent ⚖
--verbose
  • Persistent ⚖
--silent
  • Persistent ⚖
--version
  • Persistent ⚖
--help
  • Persistent ⚖