with one click
drizzle-kit
// Drizzle ORM toolkit CLI - generate migrations, push schema, introspect databases, run studio. Use when user mentions 'drizzle', 'drizzle-kit', or wants to manage database schema with Drizzle ORM.
// Drizzle ORM toolkit CLI - generate migrations, push schema, introspect databases, run studio. Use when user mentions 'drizzle', 'drizzle-kit', or wants to manage database schema with Drizzle ORM.
1Password CLI - manage secrets, vaults, items, inject credentials into commands. Use when user mentions '1password', 'op', 'secrets management', or wants to manage passwords and secrets via CLI.
AWS CLI - manage S3, EC2, Lambda, IAM, CloudFormation and other AWS services. Use when user mentions 'aws', 'amazon web services', 's3', 'ec2', 'lambda', or wants to interact with AWS.
Azure CLI - manage VMs, web apps, functions, storage, AKS, and other Azure services. Use when user mentions 'az', 'azure', or wants to interact with Microsoft Azure.
Clerk authentication CLI - set up auth, pull environment variables. Use when user mentions 'clerk', 'clerk auth', or wants to configure Clerk authentication.
Container platform CLI - build images, run containers, manage compose stacks, volumes, networks. Use when user mentions 'docker', 'container', 'docker compose', or wants to manage containers.
Figma Code Connect CLI - connect design components to code, publish connections, parse Figma files. Use when user mentions 'figma', 'code connect', 'figma cli', or wants to link Figma designs to code.
| name | drizzle-kit |
| description | Drizzle ORM toolkit CLI - generate migrations, push schema, introspect databases, run studio. Use when user mentions 'drizzle', 'drizzle-kit', or wants to manage database schema with Drizzle ORM. |
| category | devtools |
| install_command | npm i -g drizzle-kit |
npm i -g drizzle-kit
Or use as a dev dependency:
npm i -D drizzle-kit
npx drizzle-kit
Verify installation:
drizzle-kit --version
Requires a drizzle.config.ts file in the project root.
| Command | Description |
|---|---|
drizzle-kit generate | Generate SQL migration files from schema changes |
drizzle-kit generate --name init | Generate a named migration |
drizzle-kit migrate | Apply pending migrations |
drizzle-kit drop | Drop a previously generated migration |
drizzle-kit up | Upgrade previously generated migrations to a newer format |
drizzle-kit check | Check for consistency between schema and migration files |
| Command | Description |
|---|---|
drizzle-kit push | Push schema changes directly to the database without generating migrations |
drizzle-kit pull | Introspect the database and generate schema files |
| Command | Description |
|---|---|
drizzle-kit studio | Open Drizzle Studio GUI for database browsing |
drizzle-kit studio --port 3001 | Open studio on a custom port |
| Flag | Description |
|---|---|
--config <path> | Path to drizzle config file |
--dialect <dialect> | Database dialect (postgresql, mysql, sqlite) |
--verbose | Enable verbose output |