For developers/CLI & tooling
One CLI for
the whole lifecycle.
Scaffold a project, introspect a database you already have, move the schema, regenerate the types, run both halves in dev, and install the skills your coding agent needs.
Command Reference
Every command you need, from scaffolding to production migration.
Schema Generate
schemaRead your TypeScript collection definitions and generate a Drizzle ORM schema file. Run this after adding or modifying collections.
DB Push
dbApply the current Drizzle schema directly to your database. A development shortcut that skips migration files.
Schema Introspect
schemaIntrospect your live PostgreSQL database and generate Rebase collection definitions from existing tables, columns, and relations.
DB Generate
dbCompare your current Drizzle schema against the last entity and generate SQL migration files for the differences.
DB Migrate
dbRun all pending SQL migrations against your database. Safe for production deployments.
Generate SDK
sdkGenerate a fully-typed database.types.ts file from your collection definitions. Use with createRebaseClient<Database>() for end-to-end type safety.
Dev Server
devStart the frontend and backend concurrently in development mode with hot reload.
Reset Password
authSet a user's password from the terminal, by email — for when nobody can get back into the admin panel.
The Rebase Workflow
Collections are the source of truth. Everything flows from them.
Define Collections
TypeScript
Generate Schema
rebase schema generate
Push & Deploy
rebase db push
Generates → REST API
Generates → Admin UI
Generates → Typed Client SDK
Get started with your project
The whole lifecycle, one terminal.
Scaffold a project, push a schema, run it, back it up — every step is a command you can put in CI.
