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
Then, run prisma generate
which reads your Prisma schema and generates the Prisma Client.
npx prisma generate
Whenever you update your Prisma schema, you will need to run the prisma db push
command to create new indexes and regenerate Prisma Client.