Scaffold starter projects from stack combinations like react vite ts tailwind express prisma mysql.
starter-structure-cli supports direct template selection, interactive prompts, and natural stack queries. It ships with frontend, backend, fullstack, and monorepo starters built from layered template sources.
Run with npx:
npx starter-structure-cli my-appOr use the standard npm create flow:
npm create starter-structure-cli@latest my-appOr install globally:
npm install -g starter-structure-cli
starter-structure-cli my-appIf you run npm install starter-structure-cli, npm only installs the CLI package into the current folder. It does not run the scaffolder automatically.
More setup details are available in docs/installation.md.
Interactive mode:
npx starter-structure-cli my-appCreate flow:
npm create starter-structure-cli@latest my-appExact template:
npx starter-structure-cli my-app --template fullstack/react-vite-ts-tailwind-express-prisma-mysqlChoose a package manager:
npx starter-structure-cli my-app --package-manager bunGenerate into a custom directory:
npx starter-structure-cli my-app --output ./apps/my-appStack tokens:
npx starter-structure-cli my-app react vite ts tailwind express prisma mysqlList templates:
npx starter-structure-cli --listCheck project health:
npx starter-structure-cli --doctorPrint machine-readable output:
npx starter-structure-cli --list --json
npx starter-structure-cli --doctor --json
npx starter-structure-cli my-app react vite ts --dry-run --jsonInspect one template:
npx starter-structure-cli --template-info single/react-vite-ts-tailwind
npx starter-structure-cli --template-info single/react-vite-ts-tailwind --jsonPreview a match without writing files:
npx starter-structure-cli my-app react vite ts tailwind --dry-run --explainbin CLI entry point
lib Template build helpers
packages Companion publishable packages like npm create wrappers
scripts Build, validation, stats, and publish utilities
template-sources Bases, layers, presets, and reusable components
templates Generated templates used by the CLI
docs Public project documentation
Useful commands:
npm install
npm run build:architecture-stubs
npm run build:templates
npm run check:create-package
npm run check:templates
node ./bin/starter-structure-cli.js --list
node ./bin/starter-structure-cli.js my-app react vite ts --dry-run --explainFor template changes, update template-sources/ first and then rebuild templates/.
npm does not provide unique user counts, but download counts are available:
npm run stats:downloads- GitHub: https://github.com/mohosin2126/starter-structure-cli
- Issues: https://github.com/mohosin2126/starter-structure-cli/issues
MIT