Skip to main content

Getting started

Quickstart

To bootstrap a new Prisma ORM project with a Prisma Postgres database, run the following command in your terminal:

npx prisma init --db

After running this command, the terminal will guide you with next steps. Follow this page to complete the setup for your first Prisma Postgres project.

If you need a database quickly for testing, or want to try out Prisma Postgres, you can run the following command to spin up a temporary 24-hour database:

npx create-db@latest

You can learn more about npx create-db in the dedicated documentation.

Prisma ORM

The easiest ways to get started with Prisma Postgres is by following these guides:

If you are looking to explore Prisma Postgres in a fullstack project, check out these resources:

Connect via any database library / tool

You can access Prisma Postgres with any ORM or database tool of your choice. Once you have the connection string, you can follow the setup docs for PostgreSQL of any ORM or database tool:

In this section

You can either start with a fresh Prisma Postgres project or import data from an existing database to Prisma Postgres.