Prisma CLI & ConfigurationCLI Command Reference

prisma playground

$ prisma playground

Opens a GraphQL Playground for the current service.

By default, this opens the Desktop version of the Playground (if installed). The browser-based Playground can be opened by passing the --web flag.

The Playground is running on port 3000.

Usage

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)

prisma playground

Open Playground (browser-based version)

prisma playground --web
Content
$ prisma playground