Skip to content

Compute docs teach @prisma/cli@latest and the removed app/database command groups #8148

Closed

Description

@ankur-arch

What happens

11 pages under apps/docs/content/docs/compute/ (cli-reference, getting-started, configuration, github, deployments, domains, environment-variables, limitations, faq, branching, image-transformations) instruct readers to run npx @prisma/cli@latest and document the app deploy, app open, app logs, and database create commands.

Verified today against npm and the published binary:

  • @prisma/cli@latest resolves to 3.0.0-beta.30 (abandoned 2021 CLI). Every copy-paste of a documented command fails at the first step.
  • The real Prisma 8 CLI is @prisma/cli@next (8.0.0-rc.1), whose command set is: auth login, project *, postgres create (replaces database create), git connect (replaces the app deploy push-to-deploy setup), service list|create|show|open|remove + service deployment *, build logs <id>, composer deploy|dev|log|destroy, plus the ORM toolchain (init, migrate, db *, migration *). There is no app group and no database group.

Expected

The compute docs teach the command set that exists in the published CLI, using @prisma/cli@next until Prisma 8 GA flips the tag (then a single sweep to @latest).

Why it matters

This is the primary Compute onboarding surface. A first-time user following getting-started hits "unknown command" on step one. Related fixes already landed for the same problem elsewhere: Console hints (prisma/pdp-control-plane#4896, #4897), templates (prisma/prisma-examples#8565, prisma/compute-deploy-example#1), and the Deploy Button page (#8116) which is already consistent.

Reported during Prisma 8 end-to-end testing on behalf of Ankur Datta.

🤖 Generated with Claude Code

Activity

  1. AryanSharma48 commented on Aug 13, 2026

    @AryanSharma48

    I'd like to fix this. My plan:

    • Update all 11 compute docs files
    • Change @prisma/cli@latest → @prisma/cli@next
    • Replace old commands (app deploy, database create, etc.)
      with new ones (composer deploy, postgres create, etc.)
    • Test against the real CLI

    I'll open a draft PR for this soon!

  2. ankur-arch commented on Aug 14, 2026

    @ankur-arch
    ContributorAuthor

    Correction to this issue's framing: @prisma/cli@latest is the current 3.x platform-CLI beta, so the documented app deploy / database create commands do work today — copy-pastes don't fail. The real problem this issue tracks is forward-looking: these 11 pages teach the pre-Prisma-8 command set, which disappears when the latest tag moves to 8.x at GA. The migration target is unchanged (the Prisma 8 command mapping in the issue body is verified against 8.0.0-rc.2); only the urgency framing changes — this is a launch-blocking docs migration, not a live breakage.

    Reported during Prisma 8 end-to-end testing on behalf of Ankur Datta.

  3. AryanSharma48 commented on Aug 14, 2026

    @AryanSharma48

    Thanks for the clarification, Ankur!

    This PR proactively updates the docs to Prisma 8 CLI
    before the @latest tag moves at GA, aligned with
    similar fixes already landed in templates and Console.

    Ready for review once complete.

  4. added 2 commits that reference this issue on Sep 12, 2026
    2af8cb7
    5a0c805
  5. added a commit that references this issue on Sep 16, 2026
    629fb18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions