Navigated to /docs/cli

Framework CLI overview

Use the tavo CLI as the supported interface for creating, understanding, validating, building, and shipping a Tavo.js application.

What the CLI owns

The framework CLI understands Tavo.js routes, layouts, stores, generators, and provider-neutral build artifacts. Prefer it over hand-written framework plumbing because its output stays aligned with the installed package version.

Choose a workflow

Run the project-local version

Generated applications install @tavojs/cli as a development dependency, which makes the project-local tavo binary available. Use the generated package scripts for normal development. For a command without a script, use npx from the project root so it resolves the installed binary and contributors and CI use the version in the lockfile.

BASH
bashnpm run dev
npx tavo --version
npx tavo --help

# Equivalent local execution:
pnpm exec tavo --version
yarn tavo --version
bun run tavo --version