Setup Dependencies and PNPM Catalogs
Install dependencies for the monorepo and understand the Prisma client workflow.
Install dependencies from the project root:
pnpm installThis guide is part of the Next.js Prisma SaaS Kit installation.
What Happens
- pnpm installs workspace dependencies
preinstallruns the requirements checkpostinstallrunsmanypkg fix
Prisma Client
You can generate Prisma manually:
pnpm --filter @kit/database prisma:generateIn normal day-to-day work, apps/web already regenerates Prisma in predev and prebuild, so you usually do not need an extra pnpm i step after generation.
Catalogs
Shared dependency versions use PNPM catalogs:
{ "dependencies": { "react": "catalog:", "next": "catalog:" }}Common Pitfalls
- Run commands from the repo root.
- Regenerate Prisma after schema changes.
- Do not assume a second install step is required after
prisma:generate.
Next: Environment Variables →