Search for a command to run...
Next-generation ORM for Node.js and TypeScript that provides type-safe database access across PostgreSQL, MySQL, SQL Server, SQLite, MongoDB, and CockroachDB. Uses a declarative schema as the single source of truth, generates a type-safe query client with autocompletion, and handles migrations and database introspection so developers spend less time wiring data layers and more on business logic.
Used by over 500,000 monthly active developers and teams at Lush, Rapha, Dub.co, Amplication, and Formbricks. Prisma sets itself apart from alternatives like Drizzle and TypeORM with its schema-first design: a single readable schema file drives migrations, client generation, and introspection. Switching databases often requires updating schema references rather than rewriting queries, as seen in production migrations from MySQL to SQL Server with minimal downtime.
Key capabilities:
Prisma fits full-stack applications, SaaS backends, and REST or GraphQL APIs where TypeScript teams want end-to-end type safety from database to API. Auth libraries like Stack Auth and BetterAuth build on Prisma for user and session management. Developers use introspection to adopt Prisma incrementally in legacy codebases, and the generated client plugs into CI, testing, and deployment pipelines.