CLI to scaffold projects with zero subcommand prompts:
- Fullstack — Next.js + shadcn/ui
- Landing page — Astro + Tailwind CSS
- Supabase — optional for both templates (
supabase init+supabase start)
npm create supafast-template@latestAfter choosing the template type, the CLI asks whether to initialize a Supabase local database (default: yes for fullstack, no for landing).
Non-interactive (CI / scripting):
npm create supafast-template@latest my-app -- --type fullstack --supabase
npm create supafast-template@latest my-landing -- --type landing --no-supabase- Node.js 18+
- npm
- Supabase (optional): Docker Desktop running (~7GB RAM recommended for local stack)
create-next-appwith recommended defaults (TypeScript, Tailwind, ESLint, App Router, nosrc/)shadcn init -dshadcn add --all --yes- Supabase (if enabled):
supabase init+supabase start - Custom
app/page.tsxtemplate
create astrowithbasicstemplateastro add tailwind --yes(Tailwind v4 via official Vite plugin)- Supabase (if enabled):
supabase init+supabase start - Custom
src/pages/index.astrotemplate
npx create-next-app@latest <name> --yes --ts --tailwind --eslint --app --import-alias "@/*"
npx shadcn@latest init -d
npx shadcn@latest add --all --yesnpx supabase init
npx supabase startnpm create astro@latest <name> -- --yes --template basics --install --skip-houston
npx astro add tailwind --yesEnsure Docker Desktop is installed and running, then:
cd <project-name>
npx supabase startcd <project-name>
npx shadcn@latest add --all --yesnpm install
npm run build
npm link
npm create supafast-template@latest test-app -- --type fullstackMIT
