Prisma Studio is a visual editor for your database. To run Prisma Studio, run the following command in your terminal:

npx prisma studio

Note: Prisma Studio replaces Prisma Admin, and is only compatible with Prisma 2.

Troubleshooting

Failed to run script / Error in Prisma Client request

Caching issues may cause Prisma Studio to use an older version of the query engine. You may see the following error:

Error in request: PrismaClientKnownRequestError: Failed to validate the query Error occurred during query validation & transformation

To resolve, delete the following folders:

  • ~/.cache/prisma on macOS and Linux
  • %AppData%/Prisma/Studio on Windows
Edit this page on GitHub