CLI
Reference
All available Typebase CLI commands.
Last updated on
The Typebase CLI is the main tool for managing your project. It handles code generation, deployment, database management, and more.
Usage
npx typebase-io-cli <command> [options]If you installed the CLI globally, you can also run:
typebase-io-cli <command> [options]Commands
| Command | Description |
|---|---|
init | Scaffold a new Typebase project structure |
codegen | Regenerate type definitions |
deploy | Build and deploy your server to the cloud |
generate-server | Generate server files locally without deploying |
db | Manage your database (push schema changes) |
auth | Manage authentication (generate auth tables) |
env | Manage environment variables on your deployment provider |