Astro 6
Latest Astro with View Transitions and Content Layer API.
Scaffold production-ready Velocity projects in seconds with the official CLI tool.
pnpm create velocity-astro my-sitenpm create velocity-astro@latest my-siteyarn create velocity-astro my-sitebun create velocity-astro my-siteThe CLI guides you through setup with an interactive wizard. Just run the command and answer the prompts:
┌ create-velocity-astro│◇ Where should we create your project?│ my-awesome-site│◇ Include demo landing page and sample content?│ Yes│◇ Which components would you like to include?│ ● All components (recommended)│ ○ UI components only│ ○ UI + Patterns│ ○ None (minimal)│◇ Add internationalization (i18n) support?│ No│◇ Generate additional starter pages?│ No│◆ Creating your project...Project Location
Choose where to create your project. Enter a folder name or path.
Demo Content
Include the demo landing page, sample blog posts, and example pages? Great for learning and customizing.
Component Selection
Choose which UI components to include:
Internationalization
Add multi-language support with locale routing, translations, and language switcher.
Starter Pages
Optionally generate additional pages like Services, Pricing, Team, etc.
Every Velocity project includes:
Astro 6
Latest Astro with View Transitions and Content Layer API.
Tailwind CSS v4
Modern utility-first CSS with native cascade layers.
TypeScript
Full type safety throughout your project.
27+ Components
Production-ready UI components with variants.
SEO Ready
Meta tags, Open Graph, JSON-LD schemas, sitemap.
Dark Mode
System-aware theme switching built in.
For automation or quick setups, use flags to skip prompts:
| Flag | Type | Default | Description |
|---|---|---|---|
--demo | boolean | prompt | Include demo landing page and sample content |
--components | string | prompt | Component selection (see below) |
--i18n | boolean | prompt | Add internationalization support |
--pages | boolean | false | Generate starter pages interactively |
-y, --yes | boolean | false | Skip all prompts, use defaults |
-h, --help | - | - | Show help message |
-v, --version | - | - | Show version number |
# Accept all defaults (full-featured)pnpm create velocity-astro my-site -y
# Minimal project, no demopnpm create velocity-astro my-site -y --demo=false --components=none
# Full project with i18npnpm create velocity-astro my-site --demo --components --i18nOnce complete, the CLI shows next steps:
◆ Done! Your project is ready.
Next steps: 1. cd my-site 2. npm run dev
Your site will be at http://localhost:4321