Tiesen LogoYuki UI
Lib

Create Yuki Stack

A CLI tool for scaffolding type-safe, full-stack TypeScript applications with best practices and customizable.

Overview

create-yuki-stack is a CLI tool for scaffolding type-safe, full-stack TypeScript applications with best practices and customizable options. It enables you to quickly bootstrap a new project with your preferred frontend, backend, database, authentication, and additional tooling, all configured for a smooth developer experience.

Whether you want a minimal setup or a production-ready stack, create-yuki-stack provides interactive prompts and sensible defaults to get you started fast. You can also automate the process using CLI flags for scripting or CI/CD workflows.

Total DownloadsLatest Stable VersionLicense

Getting Started

To create a new project, run one of the following commands in your terminal. Replace my-yuki-app with your desired project name.

npm create yuki-stack@latest my-yuki-app
yarn create yuki-stack my-yuki-app
pnpm create yuki-stack@latest my-yuki-app
bun create yuki-stack@latest my-yuki-app

After running the command, you'll be prompted to select your preferred stack options. You can skip the prompts and use default settings with the -y or --yes flag.

CLI Options

OptionDescription
-y, --yesSkip all prompts and use default settings
--no-yesNegate --yes option
--frontend [values...]Frontend frameworks (choices: nextjs, react-router, tanstack-start)
--database [string]Database option (choices: none, drizzle, prisma, mongoose)
--adapter [string]Database adapter (choices: none, neon)
--backend [string]Backend framework (choices: none, express, elysia, hono, spring-boot
--api [string]API type (choices: none, eden, trpc, orpc)
--auth [string]Authentication (choices: none, basic-auth, better-auth, next-auth)
--extras [values...]Add extra packages and tooling (choices: gh-actions, email)
--package-manager [string]Package manager (choices: npm, yarn, pnpm, bun)
--installInstall dependencies after setup
--no-installNegate --install option
--gitInitialize git repository
--no-gitNegate --git option
-h, --helpDisplay help information
-V, --versionDisplay version number

You can combine these options to fully automate project creation, for example:

npm create yuki-stack@latest my-app -- --frontend nextjs --database drizzle --auth next-auth --install --git

Default Options with --yes Flag

When using the --yes or -y flag, the following default options will be applied:

  • Frontend: [Next.js]
  • Database: none
  • Adapter: none
  • Backend: none
  • API: none
  • Auth: none
  • Extras: []
  • Package Manager: Auto-detected from environment
  • Install Dependencies: true
  • Initialize Git: true

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

On this page