# In your system
npm install -g @prisma/cli # Or yarn global add @prisma/cli
# Or in your project
npm install @prisma/cli --save-dev # Or yarn add @prisma/cli --dev
npm install @prisma/client # Or yarn add @prisma/client
//Newer versions:
$ npm install -g prisma
$ prisma generate
# newer versions:
npm install -g @prisma
# then run:
prisma generate