Skip to content

Astro

Scaffold an Astro project via the official create astro CLI

Primary commands

bash
npx scafix create astro
npx scafix create astro --template blog --package-manager pnpm
npx scafix create astro --template docs --name docs-site

Supported customizations

OptionCLI flagsType / valuesDefaultNotes
Template--template <template>minimal Minimal
blog Blog
docs Docs
minimalSelect the official Astro starter template.

--yes defaults

Keyvalue
templateminimal

Notes

  • Scafix asks the official Astro CLI to install dependencies during scaffolding.
  • Astro's upstream git initialization is disabled so the shared Scafix --git flow remains the single owner of repository setup.

Shared flow reminder

  • Shared flags such as --name, --directory, --package-manager, --git, and --debug apply here as well.
  • If required values are omitted and a TTY is available, Scafix prompts for them before calling the stack adapter.
  • See CLI Reference for the shared command surface used by scafix.

Released under the MIT License.