drizzle-kit
$ npm i -g drizzle-kitMigrations, schema diffs, and typescript db tooling from the terminal.
- drizzle-kit fits data & db well, especially for migrations, schema diffs, and typescript db tooling from the terminal.
- 4,206,268 npm weekly downloads.
- Easy to automate.
- Good fit for coding-agent workflows and repeatable scripts.
- Output is mostly text-first, so verify results before scripting around it.
Drizzle-kit guide
Migrations, schema diffs, and typescript db tooling from the terminal. Built by Drizzle Team.
Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.
When to apply
- migrations, schema diffs, and typescript db tooling from the terminal.
- You need databases in both local dev and CI.
- You need migrations.
- You need schema diffs.
- You need typescript db tooling.
Quick reference
npm i -g drizzle-kitdrizzle-kit --versiondrizzle-kit generateOpen CLI × skills.sh
Open CLI integrates drizzle-kit with the right skills.sh companions so you get the tool and the workflow together.
Database Schema Design
Verified pairingOpen CLI integrates drizzle-kit with this skills.sh skill because it is the clearest fit for how drizzle-kit is usually used. Use better schema and migration decisions when a CLI touches databases.
$ npx skills add https://github.com/supercent-io/skills-template --skill database-schema-designUse drizzle-kit together with the Database Schema Design skills.sh skill. Inspect the current schema or data first, summarize what matters, and ask before any migration or write action.
Why this tool
- drizzle-kit fits data & db well, especially for migrations, schema diffs, and typescript db tooling from the terminal.
- 4,206,268 npm weekly downloads.
- Easy to automate.
Watch-outs
- Output is mostly plain text.
- Start with read-only or dry-run commands.
Example workflow
1. drizzle-kit generateSafe start
Install drizzle-kit.
Run `drizzle-kit --version` first.
Start with `drizzle-kit generate`.
Install a CLI that matches your database engine.