web icon indicating copy to clipboard operation
web copied to clipboard

docs: update Prisma CLI package manager wording

Open elphizu opened this issue 6 months ago β€’ 2 comments

Summary

Updates the Prisma Postgres quickstart wording to avoid npm-specific npx phrasing.

The previous wording:

You can now invoke the Prisma CLI by prefixing it with npx.

was inconsistent for pnpm, yarn, and bun users.

Changes

  • Replaced npm-specific wording with package-manager wording

Testing

  • Verified docs rendering locally

Fixes: #7913

Summary by CodeRabbit

  • Documentation
    • Updated quickstart guides across all supported databases (CockroachDB, MongoDB, MySQL, PlanetScale, PostgreSQL, Prisma Postgres, SQL Server, and SQLite) to clarify that the Prisma CLI can be invoked using your preferred package manager. The updated guidance provides more flexible instructions that better accommodate different development environments and tooling preferences.

Review Change Stack

elphizu avatar May 22 '26 10:05 elphizu

@GivenBY is attempting to deploy a commit to the Prisma Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 22 '26 10:05 vercel[bot]

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 66ae2668-6533-4cdb-bd03-11644779d89b

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between fc248376d957ee2cfd29a827b1934a6834c791e9 and 68bbdbe1e48590a71c80a2f8214f2ba6111b50da.

πŸ“’ Files selected for processing (8)
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/cockroachdb.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/mongodb.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/mysql.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/planetscale.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/postgresql.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/prisma-postgres.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/sql-server.mdx
  • apps/docs/content/docs/(index)/prisma-orm/quickstart/sqlite.mdx

Walkthrough

This PR updates eight Prisma quickstart documentation files to remove npm-specific npx wording and replace it with package-manager-agnostic language. The changes ensure consistent guidance across npm, pnpm, yarn, and bun tabs.

Changes

Quickstart CLI Invocation Wording

Layer / File(s) Summary
Update CLI invocation instructions across quickstart guides
apps/docs/content/docs/(index)/prisma-orm/quickstart/cockroachdb.mdx, mongodb.mdx, mysql.mdx, planetscale.mdx, postgresql.mdx, prisma-postgres.mdx, sql-server.mdx, sqlite.mdx
Reword Prisma CLI invocation instructions from npm-specific npx references to package-manager-agnostic "invoke with your package manager" language. MongoDB includes two updates: the initial CLI instruction and a note about Prisma Client generation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

πŸš₯ Pre-merge checks | βœ… 5
βœ… Passed checks (5 passed)
Check name Status Explanation
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check βœ… Passed The title accurately summarizes the main change: updating documentation to use package-manager-neutral wording instead of npm-specific npx phrasing across all Prisma quickstart guides.
Linked Issues check βœ… Passed The pull request successfully addresses issue #7913 by replacing npm-specific npx wording with package-manager-neutral language across all eight quickstart documentation files, making guidance accurate for npm, pnpm, yarn, and bun users.
Out of Scope Changes check βœ… Passed All changes are directly scoped to the stated objective: updating Prisma CLI invocation wording in quickstart documentation files. No unrelated modifications or refactoring were introduced.
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

[!WARNING]

Review ran into problems

πŸ”₯ Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar May 22 '26 10:05 coderabbitai[bot]