prisma/prisma
Prisma overview
Prisma ORM is a next-generation, type-safe Node.js and TypeScript ORM. This monorepo contains the TypeScript source for the Prisma CLI, Prisma Client, Prisma Migrate, driver adapters, and the supporting packages that make up Prisma 7.
What this repository contains
This repository (prisma/prisma) is the TypeScript half of Prisma. It does not contain the Rust engines — those live in prisma/prisma-engines and are pulled in here as compiled binaries (Schema Engine) or WebAssembly modules (PSL parser, query compiler).
The repo ships ~46 npm packages organized as a pnpm workspace:
- The
prismaCLI (packages/cli) @prisma/clientruntime (packages/client)@prisma/migrateand themigrate/dbsubcommands (packages/migrate)- The two Prisma Client generators:
prisma-client(new) inpackages/client-generator-tsand the legacyprisma-client-jsinpackages/client-generator-js - The new Wasm-based execution stack:
packages/client-engine-runtime - Driver adapters for nine database drivers (
packages/adapter-*) - Glue packages (
@prisma/internals,@prisma/config,@prisma/engines,@prisma/debug, etc.)
See Architecture for the high-level component map.
Quick links
- Getting started — install dependencies, build, run tests
- Glossary — Prisma-specific vocabulary (DMMF, PSL, driver adapter, …)
- Architecture — how the CLI, generators, client, and engines fit together
- How to contribute — development workflow, PR process, testing
- Packages — the workspace layout
- Features — cross-cutting capabilities (driver adapters, transactions, etc.)
- Reference — configuration files, dependencies, error codes
Audience
This wiki is written for engineers contributing to prisma/prisma itself. End-user documentation lives at prisma.io/docs. When user-facing behavior is described here, it is from the implementer's perspective — for example, "prisma generate is dispatched by packages/cli/src/Generate.ts" rather than "how to run prisma generate".
License and code of conduct
The codebase is Apache-2.0 licensed. See LICENSE at the repository root and CODE_OF_CONDUCT.md for community expectations.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.