Prisma ORM 8 is here.Read the docs

rm

Prisma CLI v7

Remove local Prisma Postgres servers

The prisma dev rm command removes the data of one or more local Prisma Postgres databases from your file system.

Usage

prisma dev rm [options] <name>

Arguments

ArgumentDescription
<name>Name(s) or glob pattern(s) of the server(s) to remove

Options

OptionDescriptionDefault
--debugEnable debug loggingfalse
--forceStop any running servers before removing themfalse

Without --force, the command fails if any server is running.

Examples

Remove a specific database

bunx prisma dev rm mydb

Remove multiple databases with a pattern

Remove all databases starting with mydb:

bunx prisma dev rm mydb*

Force remove a running database

Stop and remove a database in one command:

bunx prisma dev rm --force mydb

On this page