Skip to content

create-coral CLI

create-coral is the official Coral scaffolding CLI. It pulls the latest template/, renames the module for you, and keeps the standard Coral setup intact:

  • TypeScript by default
  • Biome for linting and formatting
  • Coral release automation and workflow files
  • TanStack Start, Tailwind CSS, and Jellyfin-ready structure

Use whichever package manager you prefer:

Terminal window
pnpm create coral@latest
npm create coral@latest
bun create coral@latest

You can also pass the module name directly:

Terminal window
pnpm create coral@latest my-module
npm create coral@latest my-module
bun create coral@latest my-module

If you want the explicit package form:

Terminal window
npx create-coral@latest my-module

The generated module already includes:

  • TypeScript configuration
  • Biome formatting and linting
  • Vite and TanStack Start wiring
  • Dockerfile and production server wrapper
  • GitHub workflows for CI and release automation

If you run the CLI without a target directory, it guides you through:

  • target directory
  • module name
  • whether dependencies should be installed immediately
Terminal window
cd my-module
pnpm install
cp .env.example .env
pnpm dev

Most Coral modules run locally on port 3000 by default unless you override it.

The CLI is the recommended path. Manual cloning of Get-Coral/template is mainly useful if you need to inspect or fork the raw starter before generating a module.