# Prisma Next (/docs/prisma-postgres/quickstart/prisma-next)

> For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL.

Create a Prisma Next app with Prisma Postgres.

Location: Prisma Postgres > Quickstart > Prisma Next

Create a Prisma Next app backed by Prisma Postgres.

## Quick start [#quick-start]

  

#### bun

```bash
bunx create-prisma@next
```

#### pnpm

```bash
pnpm dlx create-prisma@next
```

#### yarn

```bash
yarn dlx create-prisma@next
```

#### npm

```bash
npx create-prisma@next
```

Run this from a Node.js 24 or newer environment. When prompted, choose PostgreSQL and Prisma Postgres.

Setup provisions the database, writes `DATABASE_URL`, adds a starter contract, creates `prisma-next.md`, installs project-level Prisma Next skills for your coding agent, and adds package scripts for the database steps below.

## 1. Create the app [#1-create-the-app]

Run `create-prisma@next` and choose the minimal template if you want the fastest first run. Choose a framework template when you want the first query wired into an app route or page.

## 2. Initialize the database [#2-initialize-the-database]

From the generated project directory, run `db:init` to apply the starter schema to Prisma Postgres and sign the database.

  

#### bun

```bash
bun run db:init
```

#### pnpm

```bash
pnpm run db:init
```

#### yarn

```bash
yarn db:init
```

#### npm

```bash
npm run db:init
```

## 3. Seed data [#3-seed-data]

`db:seed` inserts sample data so the first query returns something immediately.

  

#### bun

```bash
bun run db:seed
```

#### pnpm

```bash
pnpm run db:seed
```

#### yarn

```bash
yarn db:seed
```

#### npm

```bash
npm run db:seed
```

## 4. Run the app [#4-run-the-app]

Start the app and confirm the sample query runs successfully.

  

#### bun

```bash
bun run dev
```

#### pnpm

```bash
pnpm run dev
```

#### yarn

```bash
yarn dev
```

#### npm

```bash
npm run dev
```

Use the URL or terminal output shown by your template to confirm the sample query runs successfully.

## Next steps [#next-steps]

* Open the generated contract and change the starter model.
* Use [Import from PostgreSQL](https://www.prisma.io/docs/next/prisma-postgres/import-from-existing-database-postgresql) or [Import from MySQL](https://www.prisma.io/docs/next/prisma-postgres/import-from-existing-database-mysql) when you want to move an existing database to Prisma Postgres.
* Use the [PostgreSQL existing-project guide](https://www.prisma.io/docs/next/add-to-existing-project/postgresql) when your app already has a Prisma Postgres database.

## Related pages

- [`Drizzle ORM`](https://www.prisma.io/docs/prisma-postgres/quickstart/drizzle-orm): Get started with Drizzle ORM and Prisma Postgres
- [`Kysely`](https://www.prisma.io/docs/prisma-postgres/quickstart/kysely): Get started with Kysely and Prisma Postgres by creating a type-safe SQL query builder for your database
- [`Prisma ORM`](https://www.prisma.io/docs/prisma-postgres/quickstart/prisma-orm): Create a new TypeScript project from scratch by connecting Prisma ORM to Prisma Postgres and generating a Prisma Client for database access
- [`TypeORM`](https://www.prisma.io/docs/prisma-postgres/quickstart/typeorm): Get started with TypeORM and Prisma Postgres by connecting your TypeScript ORM to a managed PostgreSQL database