CLI Overview
The Velox TS CLI handles the repetitive parts of development — starting a dev server with HMR, generating procedures and schemas from your Prisma models, running migrations, and serving OpenAPI docs. Every command is designed to keep you in flow rather than writing boilerplate.
Commands
Section titled “Commands”| Command | Description |
|---|---|
velox dev | Start development server |
velox sync | Generate schemas + procedures for all Prisma models |
velox make | Generate code scaffolds for a single model |
velox migrate | Database migrations |
velox db:seed | Database seeding |
velox introspect | Type introspection |
velox mcp | Start MCP server |
Installation
Section titled “Installation”The CLI is included in @veloxts/cli:
pnpm add -D @veloxts/cliOr use via npx:
npx velox devvelox --helpvelox make --helpvelox migrate --helpRelated Content
Section titled “Related Content”- Dev Server - Development workflow
- Schema Sync - Generate schemas + procedures for all models
- Generators - Single-model code generation
- Database Commands - Migration/seeding