← Back to Changelog

Prisma ORM v7.7.0: the new prisma bootstrap command

v7.7.0
April 7, 2026
Prisma ORMPrisma Postgres

Prisma ORM v7.7.0: the new prisma bootstrap command

ORM

prisma bootstrap command

Prisma ORM v7.7.0 introduces a new prisma bootstrap command that sequences the full Prisma Postgres setup into a single interactive flow.

It detects the current project state and only runs the steps that are needed:

  1. Init or scaffold: In an empty directory, offers a choice of 10 starter templates from prisma-examples. In an existing project without a schema, it runs prisma init.
  2. Link: Authenticates via the browser and connects to a Prisma Postgres database. Skips if the project is already linked.
  3. Install dependencies: Detects the package manager and offers to install missing @prisma/client, prisma, and dotenv.
  4. Migrate: Runs prisma migrate dev if the schema contains models.
  5. Generate: Runs prisma generate.
  6. Seed: Runs prisma db seed if a seed script is configured.

Each side-effecting step prompts for confirmation, and re-running the command skips any steps that are already complete.

This feature shipped in #29374 and #29424.

Basic usage

npx prisma@latest bootstrap

With a starter template

npx prisma@latest bootstrap --template nextjs

Non-interactive (CI)

npx prisma@latest bootstrap --api-key "$PRISMA_API_KEY" --database "db_abc123"

Enterprise support

Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.

With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.