Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ slug: "rethinking-database-migrations"
date: "2026-03-27"
authors:
- "Mike Hartington"
- "Will Madden"
metaTitle: "Rethinking Database Migrations"
metaDescription: "Database migrations are brittle and they break when you're most vulnerable; when you're deploying to production. Prisma Next migrations make them explicit, verifiable and safe to retry."
metaImagePath: "/rethinking-database-migrations/imgs/meta.png"
Expand Down
106 changes: 106 additions & 0 deletions apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
title: "Try Prisma: The Fastest Way to Explore Prisma Examples"
slug: "try-prisma-announcment-Kv6bwRcdjd"
date: "2022-11-25"
authors:
- "Sabin Adams"
metaTitle: "Try Prisma: The Fastest Way to Explore Prisma Examples"
metaDescription: "Announcing: Try Prisma. A CLI utility that allows you to easily set up and try out an example projects using Prisma."
metaImagePath: "/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png"
heroImagePath: "/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg"
heroImageAlt: "Try Prisma: The Fastest Way to Explore Prisma Examples"
tags:
- "announcement"
- "orm"

---

We are very excited to announce our new CLI utility, `try-prisma`. This tool allows you to easily set up an official Prisma example project from the [prisma-examples](https://github.com/prisma/prisma-examples) repository locally with a single command: `npx try-prisma`.

## Announcing `try-prisma`

Here at Prisma, our goal is to make your lives as developers easier.
Today, we are very excited to announce the release of our new tool that does just that: [`try-prisma`](https://github.com/prisma/try-prisma).

For a while now, we at Prisma have maintained our [prisma-examples](https://github.com/prisma/prisma-examples) repository with up to date, ready-to-go projects using Prisma. The intent for these projects is to allow users to experience what Prisma would be like in their new stack while evaluating technologies.

The process to set up one of these example projects, however, has been a very manual one, not providing the best developer experience we could provide.
`try-prisma` fixes this by allowing you to run a single command to set up any example project you want to try.

<Youtube videoId="2sCWMNGGGUE" />

## Embracing hands-on exploration

As developers, we love to jump in and get our hands dirty when evaluating a new project or set of tools.
With `try-prisma`, going from zero to experimentation is as simple as running a single command:

```shell
npx try-prisma
```

The starter projects available typically include:

- A fully configured and ready-to-go application in the selected stack
- A detailed README with instructions on how to use the project
- Prisma set up and configured with a starter schema
- A seed script to populate your test database

These projects allow you to skip the steps where you have to learn how all the little pieces of your stack work together, allowing you to jump right in and begin experimenting.

## The `prisma-examples` repository

The `try-prisma` CLI tool gives you easy access to the projects available in the [prisma-examples](https://github.com/prisma/prisma-examples) repository.

This repository contains an assortment of projects using different technologies that are organized into various folders based on the technologies used.

A few examples include:

- [`javascript/graphql`](https://github.com/prisma/prisma-examples/tree/latest/javascript/graphql)
- [`javascript/rest-nextjs`](https://github.com/prisma/prisma-examples/tree/latest/javascript/rest-nextjs)
- [`typescript/rest-nestjs`](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nestjs)
- [`typescript/grpc`](https://github.com/prisma/prisma-examples/tree/latest/typescript/grpc)

## Built on your suggestions

The [prisma-examples](https://github.com/prisma/prisma-examples) repository is a resource for the community that includes examples of various technologies in use with Prisma.

![Suggestions for new Prisma examples](/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png)

We love receiving feedback and encourage you to submit suggestions for new example projects or enhancements for existing projects.

If you have any technologies you would like to see added to our library of examples or would like to submit a suggestion for an existing project, feel free to use either of the links below:

- [Suggest a new example](https://pris.ly/prisma-examples-suggestion)
- [Submit feedback for an existing example](https://pris.ly/prisma-examples-feedback)

Alternatively, you may submit a pull request to the [prisma-examples](https://github.com/prisma/prisma-examples) repository with your own example project or revisions following the [Contribution Guidelines](https://github.com/prisma/prisma-examples/blob/latest/CONTRIBUTING.md).

These suggestions will be closely monitored and acted upon by the Developer Advocate team here at Prisma.

## Try it out

Sound exciting? Give it a try.

To get started, head over to your terminal and run the following command:

```shell
npx try-prisma
```

You will be walked through a series of questions about which project you would like to use, where it should be installed, and how it should be configured:

![The try-prisma CLI setup flow](/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif)

Open up the new project and head to the README for information on how to start experimenting.

If you are curious about all of the options available via the CLI, head over to the [`try-prisma` repository](https://github.com/prisma/try-prisma) and check out the README.

<Button
variant="ppg"
href="https://github.com/prisma/try-prisma"
className="no-underline hover:no-underline w-fit mx-auto px-4"
>Head over to the try-prisma repository</Button>

If you run into any issues, feel free to leave an issue in the repository's [issues](https://github.com/prisma/try-prisma/issues) tab.

We hope you'll give `try-prisma` a try and that it improves your experience when testing out new tools.
Binary file added apps/blog/public/authors/sabin-adams.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/blog/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Layout({ children }: LayoutProps<"/">) {
crossOrigin="anonymous"
></Script>
</head>
<body className="flex flex-col min-h-screen pt-24 relative">
<body className="flex flex-col min-h-screen relative">
<div className="bg-blog absolute inset-0 -z-1 overflow-hidden" />
<Provider>{children}</Provider>
</body>
Expand Down
Loading