Skip to content

[docs] Clarify local vs managed Prisma init commands #7435

@francemazzi

Description

@francemazzi

Docs page

https://www.prisma.io/docs/getting-started/prisma-orm/quickstart/prisma-postgres

Problem

The quickstart currently shows npx prisma init --db --output ... as the initialization step.
However, --db provisions a managed Prisma Postgres database (online login + database creation), and is not the right default for users who want a fully local setup (self-managed Postgres).

Proposed change

Clarify the section by presenting two options:

  • Local setup (self-managed Postgres): npx prisma init
  • Managed Prisma Postgres provisioning: npx prisma init --db --output ../generated/prisma

Why this matters

This avoids confusion and helps users choose the correct setup path based on whether they want local Postgres or managed Prisma Postgres.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions