Install and Initialize Prisma in Prisma

From the Prisma ORM cheat sheet ยท Setup ยท verified Jul 2026

Install and Initialize Prisma

Add Prisma 7 to a Node.js project and initialize a SQLite schema.

bash
npm install --save-dev prisma@7
npm install @prisma/client@7
npx prisma init --datasource-provider sqlite
๐Ÿ“Œ Prisma 7 requires Node.js 20.19, 22.12, or 24 and newer compatible releases
๐Ÿ’ก prisma is the CLI and @prisma/client is the generated query client
๐Ÿ” prisma init creates the schema, config, and environment files
โš ๏ธ Direct database connections require the matching driver adapter in Prisma 7
installinitprisma-clisqlite

Continue with Prisma ORM

Save the full cheat sheet or work through every related task.

Back to the full Prisma ORM cheat sheet