# Prisma Compute (/docs/compute)

Location: Prisma Compute

Prisma Compute is TypeScript app hosting built to run alongside [Prisma Postgres](/postgres). You model your data with [Prisma ORM](/orm), store it in Prisma Postgres, and deploy your app with Prisma Compute, so your schema, database, hosting, and branch previews work together in one Prisma project.

> [!NOTE]
> Public Beta
> 
> Prisma Compute is in [Public Beta](/console/more/feature-maturity#public-beta) and is CLI-first: you deploy and manage apps with the [`@prisma/cli`](/compute/getting-started) beta package. Use the [Console](https://pris.ly/pdp) if you prefer to view your resources instead of running a command.

Get started [#get-started]

The best way to understand Compute is to deploy an app. The quickstart takes a TypeScript app to a live URL in a few minutes, then connects GitHub so every push can deploy automatically.

- [Deploy your first app](/prisma-compute/deploy): The quickstart: sign in, deploy, verify, and connect GitHub.

To learn how Compute works, [the model](#the-model) below shows how each branch gets isolated app and database resources, so preview work never touches production.

The model [#the-model]

Compute organizes everything into a few resources:

* A **project** groups one product or codebase.
* A **branch** maps to a Git branch in the linked repository, and gets its own isolated app, environment variables, and deployments.
* An **app** is an HTTP service, such as a frontend or backend, and can have multiple **deployments**.

The branch is the concept that ties Compute together. Each branch owns its own app, database, URL, and environment variables. When you create a branch, Compute provisions isolated resources for that branch, so you can test changes in preview without affecting production.

* **Production**: the default Git branch (e.g., `main`) is your production branch, with its own resources and environment variables.
* **Preview**: every other branch is a preview branch, with its own isolated resources and environment variables scoped to **preview**.

After you [connect a GitHub repository](/compute/github), pushing to a Git branch builds and deploys its preview automatically.

The animation below shows how a project, its branches, and their infrastructure fit together, and how each branch's variables resolve by scope. Step through it, or let it play:

<ConceptAnimation name="compute-model" />

For the full picture, see [Branching](/compute/branching).

CLI and Console [#cli-and-console]

Use the **CLI** for anything you want to repeat: local development, CI, and agent workflows. Every command supports a `--json` flag that switches its output to machine-readable JSON, so scripts and agents can parse results instead of scraping terminal text.

Use the **[Console](https://pris.ly/pdp)** if you prefer to view your resources instead of running a command. The Console shows your projects, branches, apps, and deployments in a visual way, and lets you manage them with buttons instead of commands.

What to read next [#what-to-read-next]

* [Get started with `@prisma/cli`](/compute/getting-started): the full CLI guide for frameworks, project linking, production, and CI.
* [Branching](/compute/branching): how branches isolate work and map to Git.
* [Deployments](/compute/deployments): build, deploy, logs, promote, roll back.
* [Environment variables](/compute/environment-variables): production, preview, and per-branch overrides.
* [GitHub integration](/compute/github): connect a repo and deploy on push.
* [CLI reference](/compute/cli-reference): every command, flag, and error code.
* [Domains](/compute/domains): point a custom domain at production.
* [Known limitations](/compute/limitations): what the beta can and can't do.
* [FAQ](/compute/faq): quick answers to common questions.

## Related pages

- [`Build faster with Prisma + AI`](https://www.prisma.io/docs/ai): Build faster with Prisma and AI coding tools like Cursor, Codex, and ChatGPT
- [`Choose a setup path`](https://www.prisma.io/docs/getting-started): Choose the fastest path to start using Prisma ORM, Prisma Postgres, or Prisma Compute in a new or existing TypeScript project.
- [`CLI Overview`](https://www.prisma.io/docs/cli): The Prisma CLI is the command-line interface for Prisma ORM. Use it to initialize projects, generate Prisma Client, manage databases, run migrations, and more
- [`Console`](https://www.prisma.io/docs/console): Learn how to use the Console to manage and integrate Prisma products into your application.
- [`Guides`](https://www.prisma.io/docs/guides): A collection of guides for various tasks and workflows