Back to Prisma1

Prisma Playground Xcv7

docs/1.28/prisma-cli-and-configuration/cli-command-reference/prisma-playground-xcv7.mdx

1.34.12761 B
Original Source

export const meta = { title: "prisma playground", position: 190, }

$ 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

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