prisma2 => @prisma/cli
The package prisma2
has been renamed to @prisma/cli
Please uninstall prisma2
from your project or globally.
Then install @prisma/cli
to continue using Prisma 2.0:
# Uninstall old CLI
npm uninstall prisma2
# Install new CLI
npm install @prisma/cli --save-dev
# Invoke via npx
npx prisma2 --help
Learn more here:
https://pris.ly/preview025
https://www.npmjs.com/package/@prisma/cli