Install Prisma Client
Install and generate Prisma Client
To get started with Prisma Client, you need to install the @prisma/client
package:
npm install @prisma/client
Notice that the @prisma/client
node module references a folder named .prisma/client
. The .prisma/client
folder contains your generated Prisma Client, and is modified each time you change the schema and run the following command:
npx prisma generate
This command reads your Prisma schema and generates your Prisma Client library:
The @prisma/client
node module references a folder named .prisma/client
, which contains your unique, generated Prisma Client: