@@ -7,10 +7,10 @@ metaTitle: Prisma Compute
77metaDescription : Internal one-page reference for deploying Next.js and Bun apps to Prisma Compute, managing environment variables, and streaming logs.
88---
99
10- App hosting for Next.js and Bun, driven from the CLI. Two CLIs are usable today — pick whichever you prefer:
10+ App hosting for Next.js and Bun, driven from the CLI. Two CLIs are usable today, pick whichever you prefer:
1111
12- - [ ` @looma/prisma-cli ` ] ( https://www.npmjs.com/package/@looma/prisma-cli ) — new unified ` prisma app … ` surface.
13- - [ ` @prisma/compute-cli ` ] ( https://www.npmjs.com/package/@prisma/compute-cli ) — original ` compute … ` surface.
12+ - [ ` @looma/prisma-cli ` ] ( https://www.npmjs.com/package/@looma/prisma-cli ) : new unified ` prisma app ` surface.
13+ - [ ` @prisma/compute-cli ` ] ( https://www.npmjs.com/package/@prisma/compute-cli ) : original ` compute ` surface.
1414
1515## Quickstart
1616
@@ -80,7 +80,7 @@ bunx @prisma/compute-cli deploy --service-name my-app --http-port 3000
8080 </CodeBlockTab >
8181</CodeBlockTabs >
8282
83- The first deploy bootstraps project context. Re-deploys reuse the saved selection — ` app deploy ` (or ` deploy ` ) is enough.
83+ The first deploy bootstraps project context. Re-deploys reuse the saved selection, so ` app deploy ` (or ` deploy ` ) is enough.
8484
8585In CI, set ` PRISMA_API_TOKEN ` instead of running ` auth login ` .
8686
@@ -113,7 +113,7 @@ bunx @prisma/compute-cli versions show <version-id>
113113
114114Set them inline on a deploy, or update without rebuilding (cuts a new version).
115115
116- ** During a deploy** — repeat ` --env ` per variable:
116+ ** During a deploy** , repeat ` --env ` per variable:
117117
118118<CodeBlockTabs defaultValue = " looma" >
119119 <CodeBlockTabsList >
@@ -140,7 +140,7 @@ bunx @prisma/compute-cli deploy \
140140 </CodeBlockTab >
141141</CodeBlockTabs >
142142
143- ** Without rebuilding** — same flag shape, dedicated command. Old version stays live until the new one is healthy:
143+ ** Without rebuilding** : same flag shape, dedicated command. Old version stays live until the new one is healthy.
144144
145145<CodeBlockTabs defaultValue = " looma" >
146146 <CodeBlockTabsList >
@@ -150,15 +150,15 @@ bunx @prisma/compute-cli deploy \
150150 <CodeBlockTab value = " looma" >
151151
152152``` bash
153- npx @looma/prisma-cli app update-env --env STRIPE_KEY=sk_live_…
153+ npx @looma/prisma-cli app update-env --env STRIPE_KEY=sk_live_xxx
154154npx @looma/prisma-cli app list-env
155155```
156156
157157 </CodeBlockTab >
158158 <CodeBlockTab value = " compute" >
159159
160160``` bash
161- bunx @prisma/compute-cli env update --env STRIPE_KEY=sk_live_…
161+ bunx @prisma/compute-cli env update --env STRIPE_KEY=sk_live_xxx
162162bunx @prisma/compute-cli env update --unset-env LEGACY_FLAG
163163```
164164
@@ -201,8 +201,8 @@ EA log limits: ~10-min stream cap (reconnect with `--cursor`), one concurrent st
201201
202202- Next.js apps must use ` output: "standalone" ` .
203203- First-class support for ** Next.js** and ** Bun/Hono** only.
204- - ` env update ` / ` app update-env ` cuts a new compute version — old version stays live until the new one is healthy.
205- - No bulk ` .env ` import yet — repeat ` --env KEY=VALUE ` .
204+ - ` env update ` / ` app update-env ` cuts a new compute version. The old version stays live until the new one is healthy.
205+ - No bulk ` .env ` import yet, repeat ` --env KEY=VALUE ` for each variable .
206206- Logs: 10-min stream cap, one concurrent stream per version.
207207
208208## Useful CLI inventory
@@ -241,6 +241,6 @@ compute projects list
241241 </CodeBlockTab >
242242</CodeBlockTabs >
243243
244- Need a flag that isn't here? Run ` --help ` on the relevant command — both CLIs have stable, browsable help output.
244+ Need a flag that isn't here? Run ` --help ` on the relevant command. Both CLIs have stable, browsable help output.
245245
246246Questions or breakage during EA: ` #product-compute ` .
0 commit comments