Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apps/blog/content/blog/introducing-create-prisma/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -39,15 +39,15 @@ 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
```

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.
Expand All @@ -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 \
Expand All @@ -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 \
Expand All @@ -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).
Loading