Install Prisma Client
TypeScript
MySQL
Install and generate Prisma Client
To get started with Prisma Client, you need to install the @prisma/client
package:
$
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:
$
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: