Skip to content

drizzle-kit

Agent-readyData & DBDatabase

Migrations, schema diffs, and typescript db tooling from the terminal.

Migrations, schema diffs, and typescript db tooling from the terminal. Built by Drizzle Team.

Task fit

migrations, schema diffs, and typescript db tooling from the terminal.

Lane

Inspect schemas, run safe queries, and understand your data fast.

Operator brief

Use drizzle-kit for migrations, schema diffs, and typescript db tooling from the terminal.

Run `drizzle-kit generate` and see what comes back.

Repository family

Drizzle Team

First trust check

drizzle-kit responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

Safe database loop

Install command

$ npm i -g drizzle-kit

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ drizzle-kit --version

drizzle-kit responds locally and is ready for the first real command.

First real command

$ drizzle-kit generate

First steps

  1. 01Install drizzle-kit.
  2. 02Run `drizzle-kit --version` first.
  3. 03Start with `drizzle-kit generate`.
  4. 04Install a CLI that matches your database engine.

When to use / hold off when

Best for

migrations, schema diffs, and typescript db tooling from the terminal.

Use this when

You need databases in both local dev and CI.

Hold off when

You don't work with databases.

Trust and constraints

trusted89/100
Install readyTrustedCaution
JSON outputNo
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • drizzle-kit fits data & db well, especially for migrations, schema diffs, and typescript db tooling from the terminal.
  • 5,266,136 npm weekly downloads.
  • Easy to automate.

Constraints

  • Output is mostly plain text.
  • Start with read-only or dry-run commands.

Repository context

Other CLIs in this family

This is the only CLI surfaced from this family right now.

Facts and links

Install withnpm
npm weekly downloads5.3M
GitHub stars33.5K
LicenseApache-2.0
UpdatedMar 23, 2026