xxxxxxxxxx
# newer versions:
npm install -g @prisma
# then run:
prisma generate
xxxxxxxxxx
npm install prisma --save-dev
npm i @prisma/client
npx prisma init
npx prisma generate
xxxxxxxxxx
npm i -D prisma && npm i @prisma/client && npx prisma init
After change in prisma/schema.prisma
npx prisma generate => create typescript support(offline)
npx prisma db push => change in database(online)
xxxxxxxxxx
npm init -y
npm i prisma typescript ts-node @types/node --save-dev
npx tsc --init
Change `rootDit` to `src`
Change `outDir` to `dist`
npx prisma init