IndexNextPrisma Postgres
From the CLI
Start a Prisma Next app with Prisma Postgres from the command line.
Use the CLI when you want Prisma Next and Prisma Postgres set up without leaving the terminal.
Start a new app
bunx create-prisma@nextChoose PostgreSQL and Prisma Postgres when prompted.
Setup provisions Prisma Postgres, writes DATABASE_URL, adds prisma-next.md, installs project-level Prisma Next skills for your coding agent, and writes the generated scripts used below.
Initialize the database
From the generated project directory, run:
bun run db:initSeed data
bun run db:seedRun the app
bun run devAdd Prisma Next to an existing app
If the app already exists, run Prisma Next from the project root:
bunx prisma-next initChoose PostgreSQL, set DATABASE_URL to your Prisma Postgres connection string, and let init add prisma-next.md, package scripts, and the Prisma Next skills for your coding agent. Then follow the PostgreSQL existing-project guide.
Import an existing database
- Use Import from PostgreSQL when your source database is PostgreSQL.
- Use Import from MySQL when your source database is MySQL.