Installation

How to install and use matt-init


Just run the CLI without any flags:

npx matt-init@latest

You'll get a few prompts:

  • Project name: What do you want to call the thing?
  • Backend setup
    • DB + Drizzle + BetterAuth (full-stack)
    • Supabase (coming soon)
    • None (frontend-only)
  • Database provider
    • Turso (SQLite): edge DB
    • Neon (Postgres): (coming soon)
    • Docker Postgres: (coming soon)
  • Nix flake: Set up a reproducible Nix flake for dev environment
  • Install dependencies: Skip or run pnpm install
  • VS Code settings: Adds recommended extensions and workspace config
  • Git repo: Optionally initializes git and makes the first commit

CLI Options

matt-init [project-name] [options]
OptionDescription
--no-gitSkip git repo initialization
--no-installSkip installing dependencies
--no-nixSkip setting up the Nix flake
--no-vscodeSkip VS Code workspace and extension setup
--ciCI mode: non-interactive, skips prompts
-y, --defaultUse all default answers
-V, --versionPrint version number
-h, --helpShow CLI help

Examples

# Recommended: run with prompts
npx matt-init@latest

# Create a new frontend-only app with defaults
npx matt-init@latest my-app --default

# Skip git and dependency installation
npx matt-init@latest my-app --no-git --no-install

# Skip Nix flake setup (Nix is enabled by default in prompts)
npx matt-init@latest my-app --no-nix

Next Steps