Open Source

Scaffold modern stacks
instantly.

A universal scaffolding CLI that initializes Vite, Next.js, Express, or npm packages — with add-ons like Tailwind and shadcn baked in.

View on npm
4+
Stacks
4
Pkg Managers
MIT
Licensed
terminal
Features

Built for developer velocity

Every feature designed to eliminate friction between idea and running code.

One Command, Any Stack

Run npx scafix and pick your stack interactively. Vite, Next.js, Express, or npm-package — same consistent interface every time.

Official CLI Orchestration

Scafix delegates to official CLIs like create-vite and create-next-app where possible, so you always get the canonical project structure.

Instant Project Setup

Dependencies installed, Git initialized, dev server ready. Go from zero to running code in seconds, not minutes.

Built-in Add-ons

Automatically configure Tailwind CSS (v3 or v4) and shadcn/ui after scaffolding Vite or Next.js projects. No manual setup steps.

Flexible Package Managers

Choose npm, pnpm, yarn, or bun. Scafix adapts the scaffolding commands and lock files to your preferred package manager.

Extensible Architecture

Each stack is a self-contained adapter. Adding new stacks or custom templates requires no changes to core CLI logic.

Stacks

Supported stacks

Each stack is a self-contained adapter. Official CLIs are used where possible.

Vite

vite

Runs the official create-vite flow. Choose React, Vue, Svelte, or any Vite-supported framework in the prompts.

TypeScriptReactTailwindshadcn/ui

Next.js

next

Runs the official create-next-app flow with full interactive options. Optionally add shadcn/ui after setup.

App RouterTypeScriptshadcn/ui

Express

express

Express server with TypeScript and selectable architecture patterns: MVC, REST, Layered, or Simple.

Node.jsTypeScriptMVCRESTLayeredBackend

NPM Package

npm

NPM package ready for publishing with configurable build tools (tsup, rollup, esbuild) and test frameworks (vitest, jest).

TypeScripttsupvitestESM

Add-ons

  • vite — Tailwind CSS (v3 or v4), shadcn/ui, Prettier
  • next — Tailwind CSS, shadcn/ui, ESLint, Prettier, App Router, src/ directory
  • express — ESLint, Prettier, CORS, Helmet, dotenv
  • npm — Build tools (tsup, rollup, esbuild), test frameworks (vitest, jest), ESLint, Prettier

Three steps to shipping

From zero to a running development environment in under a minute.

01

Run the CLI

No global install required. Or use scafix init for interactive mode.

npx scafix
02

Select your stack & configure

Choose a stack, name your project, pick a package manager, and optionally initialize Git.

? Select your stack: ❯ vite
03

Start building

Dependencies installed, config files set, dev server ready to go.

cd my-app && npm run dev

Quick commands

Create a Vite project

npx scafix create vite --name my-app

Next.js with pnpm

npx scafix create next --package-manager pnpm

Express + Git init

npx scafix create express --name my-api --git

Vite with bun

npx scafix create vite --name app --package-manager bun
FAQ

Frequently asked questions

Start scaffolding today

Open source. Zero config. MIT licensed. One command away.

npm install -g scafix

Or use without installing: npx scafix