npx prisma generate

Category: Web App Development

npx prisma generate

Regenerate the Prisma Client from the schema

Recreates the type-safe Prisma Client in node_modules from your schema.prisma, required after schema changes. The generated client gives autocompletion and compile-time checks. Run it after every prisma migrate or db push.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.