Install Prisma Client

JavaScript
MongoDB

Install and generate Prisma Client

To get started with Prisma Client, you need to install the @prisma/client package:

$npm install @prisma/client

The install command invokes prisma generate for you which reads your Prisma schema and generates a version of Prisma Client that is tailored to your models.

Install and generate Prisma Client

Whenever you update your Prisma schema, you will need to run the prisma db push command to create new indexes and regenerate Prisma Client.