Prisma 7 setup paths
Prisma ORM v7Choose the fastest path to start using Prisma ORM 7, Prisma Postgres, or Prisma Compute in a new or existing TypeScript project.
Prisma 7 remains fully supported; Prisma 8 is the current release of Prisma ORM. Scaffold a new Prisma 7 app with npx create-prisma@stable, or add it to an existing project with npx prisma@7.10.0 init. This page collects the Prisma 7 starting points: start a new project, add Prisma to an existing one, then deploy.
For a new project, Prisma 8 is the recommended path. It is the current major version of Prisma ORM. To start with Prisma 8, see the getting started page.
Start a new project
The recommended path is the Quickstart with Prisma Postgres: it provisions a managed PostgreSQL database for you and gets you from install to first query in about five minutes.
To work with a specific database instead, pick its quickstart:
- Quickstart with PostgreSQL
- Quickstart with SQLite for a lightweight local setup
- Quickstart with MySQL
- Quickstart with MongoDB
Add Prisma to an existing project
Use these guides if you already have an application or database and want to add Prisma ORM:
- Add Prisma ORM to an existing PostgreSQL project
- Add Prisma ORM to an existing MySQL project
- Add Prisma ORM to an existing SQLite project
- Add Prisma ORM to an existing MongoDB project
- Add Prisma ORM to an existing Prisma Postgres project
Deploy to Prisma Compute
Once your app runs locally, Prisma Compute runs it next to your Prisma Postgres database:
- Port the app to Prisma Composer: add a small TypeScript declaration around your server code, read the port from
service.port(), and bind credentials likeDATABASE_URLwithenvSecretin the service's input schema. Port an existing app covers the changes with complete declarations. - Sign in with
npx prisma@latest auth login. - Build your server bundle, then run
npx prisma@latest deploy module.tswithDATABASE_URLexported; the first deploy copies input values from your shell up to the deployment. See Deploying. - Keep deploying from the CLI, or connect GitHub to deploy on push.
For a worked example, from scratch or from an app you already have, follow Deploy your first app.
Use with your agent
To hand the full Prisma 7 stack to your coding agent, copy this prompt. The commands below install Prisma 7, not Prisma 8:
Next steps
After setup, these pages are usually the next ones people need:
- Prisma Client overview
- Prisma Migrate getting started
- Prisma schema overview
- Open Prisma Studio to inspect and edit data visually
- Review pricing if you're evaluating Prisma Postgres for a team
