Back to Prisma1

`prisma playground`

docs/1.2/04-Reference/07-CLI-Command-Reference/02-Data-Workflows/01-prisma-playground.md

1.34.12640 B
Original Source

prisma playground

Open a GraphQL Playground for the current service. By default, this open the Desktop version of the Playground (if installed). The browser-based Playground can be forced by passing the --web flag.

Usage

sh
prisma playground [flags]

Flags

--dotenv DOTENV          Path to .env file to inject env vars
-w, --web                Open browser-based Playground

Examples

Open Playground (Desktop version, if installed)
sh
prisma playground
Open Playground (browser-based version)
sh
prisma playground --web