prisma · Prisma Docs
Prisma Postgres (/docs/prisma-orm/quickstart/prisma-postgres)
A step-by-step guide to setting up a TypeScript project, installing necessary Prisma dependencies, configuring ESM support, initializing the Prisma ORM, and connecting it to a Prisma Postgres database instance.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Prisma Postgres (/docs/prisma-orm/quickstart/prisma-postgres)
A step-by-step guide to setting up a TypeScript project, installing necessary Prisma dependencies, configuring ESM support, initializing the Prisma ORM, and connecting it to a Prisma Postgres database instance.
When To Use
Use when you need to initialize a new TypeScript project with Prisma ORM and connect it to a managed Prisma Postgres database instance.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-postgres-docs-orm-quickstart-workflow-guide.md | A guide for setting up and using Prisma Postgres, a managed PostgreSQL database that integrates with Prisma ORM and Prisma Studio. | Questions about a guide for setting up and using Prisma Postgres, a managed PostgreSQL database that integrates with Prisma ORM and P... |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-shell-com.shell | Shell commands for initializing a new directory and setting up a Prisma Postgres project. | Exact payloads, commands, or snippets shown in Shell commands for initializing a new directory and setting up a Prisma Postgres project. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-setup-com.bash | Bash commands to initialize a new project and install necessary TypeScript dependencies for a Prisma Postgres quickstart. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new project and install necessary TypeScript dependencies for a Prisma Postgres quickst... |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-setup-com-2.bash | Bash commands to initialize a new project and install necessary TypeScript dependencies for Prisma Postgres. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new project and install necessary TypeScript dependencies for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-setup-com-3.bash | Bash commands to initialize a project and install necessary TypeScript dependencies for a Prisma Postgres quickstart. | Exact payloads, commands, or snippets shown in Bash commands to initialize a project and install necessary TypeScript dependencies for a Prisma Postgres quickstart. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bun-project-initiali.bash | Bash commands to initialize a new Bun project and install necessary TypeScript dependencies for Prisma Postgres. | Exact payloads, commands, or snippets shown in Bash commands to initialize a new Bun project and install necessary TypeScript dependencies for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-installation-command.bash | Bash commands to install prisma, pg adapter, and client dependencies for Prisma Postgres. | Exact payloads, commands, or snippets shown in Bash commands to install prisma, pg adapter, and client dependencies for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-setup-dependencies.bash | Bash commands to install Prisma, PostgreSQL adapter, and client dependencies using pnpm. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, PostgreSQL adapter, and client dependencies using pnpm. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-setup-commands.bash | Bash commands to install Prisma, the PostgreSQL adapter, and necessary dependencies for a Prisma Postgres project. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, the PostgreSQL adapter, and necessary dependencies for a Prisma Postgres project. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bun-installation-com.bash | Bash commands to install Prisma, PostgreSQL types, and the Prisma client with the pg adapter using the Bun package manager. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, PostgreSQL types, and the Prisma client with the pg adapter using the Bun package ma... |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-configura.json | A JSON configuration object containing compiler options and module resolution settings for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in A JSON configuration object containing compiler options and module resolution settings for a Prisma Postgres setup. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-configura-2.json | A JSON configuration object for setting up a Prisma Postgres connection and environment. | Exact payloads, commands, or snippets shown in A JSON configuration object for setting up a Prisma Postgres connection and environment. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-npx-comma.bash | A bash command demonstrating how to initialize or run Prisma with a Prisma Postgres database using npx. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to initialize or run Prisma with a Prisma Postgres database using npx. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-pnpm-dlx-.bash | A bash command using pnpm dlx to execute the Prisma CLI for a Prisma Postgres quickstart setup. | Exact payloads, commands, or snippets shown in A bash command using pnpm dlx to execute the Prisma CLI for a Prisma Postgres quickstart setup. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-yarn-dlx-.bash | A bash command using yarn dlx to initialize the Prisma Postgres quickstart process. | Exact payloads, commands, or snippets shown in A bash command using yarn dlx to initialize the Prisma Postgres quickstart process. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bunx-prisma-init-com.bash | A bash command using bunx to initialize Prisma with the Prisma Postgres driver. | Exact payloads, commands, or snippets shown in A bash command using bunx to initialize Prisma with the Prisma Postgres driver. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-init-command.bash | A bash command to initialize a Prisma project with a specific output directory for Prisma Postgres. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a specific output directory for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-init-command-2.bash | A bash command to initialize a Prisma project with a specific output directory for Prisma Postgres. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a specific output directory for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-init-command-3.bash | A bash command to initialize a Prisma project with a specific output directory for Prisma Postgres. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with a specific output directory for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-init-bunx-command.bash | A bash command to initialize a Prisma project using bunx with a specific output directory. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project using bunx with a specific output directory. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-typescript-config-de.typescript | A TypeScript configuration file using defineConfig to set the Prisma schema path and migration settings for Prisma Postgres. | Exact payloads, commands, or snippets shown in A TypeScript configuration file using defineConfig to set the Prisma schema path and migration settings for Prisma Po... |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-definition.prisma | A Prisma schema file defining a datasource provider for Prisma Postgres using PostgreSQL. | Exact payloads, commands, or snippets shown in A Prisma schema file defining a datasource provider for Prisma Postgres using PostgreSQL. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-create-db.bash | A bash command used to initialize a database using the npx create-db utility for Prisma Postgres. | Exact payloads, commands, or snippets shown in A bash command used to initialize a database using the npx create-db utility for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-pnpm-dlx-create-db.bash | A bash command to initialize a Prisma Postgres database using pnpm dlx create-db. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma Postgres database using pnpm dlx create-db. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-create-db-command.bash | A bash command using yarn dlx to initialize a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A bash command using yarn dlx to initialize a Prisma Postgres database. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bunx-create-db-comma.bash | A bash command using bunx to initialize a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A bash command using bunx to initialize a Prisma Postgres database. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-definition-2.prisma | A Prisma schema file defining User and Post models configured for a Prisma Postgres database connection. | Exact payloads, commands, or snippets shown in A Prisma schema file defining User and Post models configured for a Prisma Postgres database connection. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-migrate-dev-init.bash | A bash command to initialize the database schema using Prisma Migrate for a Prisma Postgres instance. | Exact payloads, commands, or snippets shown in A bash command to initialize the database schema using Prisma Migrate for a Prisma Postgres instance. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-migrate-dev-init-com.bash | A bash command to initialize the database schema using prisma migrate dev. | Exact payloads, commands, or snippets shown in A bash command to initialize the database schema using prisma migrate dev. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-migrate-dev-init-2.bash | A bash command to initialize the database schema using prisma migrate dev. | Exact payloads, commands, or snippets shown in A bash command to initialize the database schema using prisma migrate dev. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bunx-migrate-dev-ini.bash | A bash command to run a Prisma database migration using bunx for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in A bash command to run a Prisma database migration using bunx for a Prisma Postgres setup. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-generate-command.bash | A bash command to generate the Prisma client for a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client for a Prisma Postgres database. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-generate-command-2.bash | A bash command to generate the Prisma client using pnpm dlx. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using pnpm dlx. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-generate-command-3.bash | A bash command to generate the Prisma client using yarn dlx. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using yarn dlx. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bunx-generate-comman.bash | A bash command using bunx to generate the Prisma client for a Prisma Postgres setup. | Exact payloads, commands, or snippets shown in A bash command using bunx to generate the Prisma client for a Prisma Postgres setup. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-typescript-client-ad.typescript | A TypeScript code snippet demonstrating how to initialize a PrismaClient using the PrismaPg adapter for a Prisma Postgres connection. | Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to initialize a PrismaClient using the PrismaPg adapter for a Prisma Post... |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-typescript-quickstar.typescript | A TypeScript script demonstrating how to create a new user with associated posts using the Prisma Postgres client. | Exact payloads, commands, or snippets shown in A TypeScript script demonstrating how to create a new user with associated posts using the Prisma Postgres client. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-execute-s.bash | A bash command to execute a TypeScript script using npx tsx for the Prisma Postgres quickstart. | Exact payloads, commands, or snippets shown in A bash command to execute a TypeScript script using npx tsx for the Prisma Postgres quickstart. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-execution.bash | The bash command used to execute the Prisma Postgres quickstart script using pnpm and tsx. | Exact payloads, commands, or snippets shown in The bash command used to execute the Prisma Postgres quickstart script using pnpm and tsx. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-quickstart-execution-2.bash | The bash command used to execute the Prisma Postgres quickstart script using yarn dlx and tsx. | Exact payloads, commands, or snippets shown in The bash command used to execute the Prisma Postgres quickstart script using yarn dlx and tsx. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-bunx-tsx-script-exec.bash | A bash command to execute a TypeScript script using the bunx runner with the bun runtime for Prisma Postgres. | Exact payloads, commands, or snippets shown in A bash command to execute a TypeScript script using the bunx runner with the bun runtime for Prisma Postgres. |
examples/prisma-postgres-docs-orm-quickstart-prisma-postgres-studio-launch-comman.shell | A shell command to launch the Prisma Studio GUI for managing a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A shell command to launch the Prisma Studio GUI for managing a Prisma Postgres database. |
What This Skill Covers
- Prisma Postgres (/docs/prisma-orm/quickstart/prisma-postgres)
- Main sections:
npm,pnpm,yarn,bun,npm.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://www.prisma.io/docs/prisma-orm/quickstart/prisma-postgres