From 9047afa926346700f2f37ec7990e8aca5c1146fd Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Wed, 6 May 2026 14:22:21 +0200 Subject: [PATCH] fix: change npx create-prisma to npm create prisma@latest --- .../content/blog/introducing-create-prisma/index.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/blog/content/blog/introducing-create-prisma/index.mdx b/apps/blog/content/blog/introducing-create-prisma/index.mdx index 306a4d94c0..56ffba4a6c 100644 --- a/apps/blog/content/blog/introducing-create-prisma/index.mdx +++ b/apps/blog/content/blog/introducing-create-prisma/index.mdx @@ -23,7 +23,7 @@ You know what you want to build, so you pick a framework and a database, but bef Today, we're introducing `create-prisma`, a CLI that creates a new app with Prisma already set up. ```bash -npx create-prisma@latest +npm create prisma@latest ``` Pick a template, pick a database, and start with a working Prisma app. @@ -39,7 +39,7 @@ Next.js, Nuxt, SvelteKit, Hono, NestJS, TanStack Start, and Turborepo do not all Create a Hono API with PostgreSQL: ```bash -npx create-prisma@latest --name my-api --template hono --provider postgresql +npm create prisma@latest --name my-api --template hono --provider postgresql cd my-api npm run dev ``` @@ -47,7 +47,7 @@ npm run dev Or create a Turborepo where Prisma lives in a shared database package: ```bash -npx create-prisma@latest --name my-monorepo --template turborepo --provider postgresql +npm create prisma@latest --name my-monorepo --template turborepo --provider postgresql ``` Templates are available for Hono, Elysia, NestJS, Next.js, SvelteKit, Astro, Nuxt, TanStack Start, and Turborepo. @@ -70,7 +70,7 @@ By default, it also includes a small `User` model, seed data, and an example que If you choose PostgreSQL and do not provide a `DATABASE_URL`, `create-prisma` can create a Prisma Postgres database for you: ```bash -npx create-prisma@latest \ +npm create prisma@latest \ --name my-app \ --template next \ --provider postgresql \ @@ -86,7 +86,7 @@ Databases created this way are temporary for 24 hours until claimed. That makes `create-prisma` can also set up Prisma tools for your editor and AI coding agents: ```bash -npx create-prisma@latest \ +npm create prisma@latest \ --name my-app \ --template next \ --provider postgresql \ @@ -100,7 +100,7 @@ These add-ons can install Prisma skills for coding agents, configure the Prisma Try `create-prisma` today: ```bash -npx create-prisma@latest +npm create prisma@latest ``` You can find the project on GitHub at [github.com/prisma/create-prisma](https://pris.ly/create-prisma-gh).