Installation
The Kit CLI is installed when you install the Kit framework:Available Commands
Project Commands
| Command | Description |
|---|---|
kit new [name] | Create a new Kit project |
kit serve | Start development servers (backend + frontend) |
Generator Commands
| Command | Description |
|---|---|
kit make:controller <name> | Generate a new controller |
kit make:action <name> | Generate a new action |
kit make:middleware <name> | Generate a new middleware |
kit make:error <name> | Generate a new domain error |
kit make:migration <name> | Generate a new database migration |
kit make:inertia <name> | Generate a new Inertia.js page component |
kit generate-types | Generate TypeScript types from Rust structs |
Migration Commands
| Command | Description |
|---|---|
kit migrate | Run all pending migrations |
kit migrate:status | Show migration status |
kit migrate:rollback | Rollback the last migration(s) |
kit migrate:fresh | Drop all tables and re-run migrations |
kit db:sync | Sync database schema to entity files |
Quick Start
Getting Help
Use--help with any command to see available options: