Skip to content

Installation

Use the project scaffolder for new applications:

Terminal window
pnpm create routa-ts@latest

For an existing application, install the same runtime set used by generated Routa apps:

Terminal window
pnpm add @routa-ts/cli @routa-ts/core hono zod
pnpm add -D @biomejs/biome @types/node tsx typescript
  • @routa-ts/core: route definition helpers and runtime primitives.
  • @routa-ts/cli: routa command for checks, builds, scaffolding, and dev server workflows.
  • create-routa-ts: project scaffolder for pnpm create routa-ts.

Add scripts that mirror generated Routa apps:

{
"scripts": {
"dev": "routa dev",
"start": "routa start",
"check": "routa check",
"build": "routa build",
"scaffold": "routa scaffold openapi.yaml",
"openapi:check": "routa openapi check"
}
}

Routa v0 targets new TypeScript APIs using Hono and Zod. Other runtime adapters, schema libraries, SDK generation, and broad operational/security integrations are deferred beyond v0.

Create a starter project with the scaffolder or add route contracts to an existing app.