create-postgres is a CLI tool that spins up a temporary Prisma Postgres database instantly, allowing developers to experiment or test without setting up a local database. Version 1.2.1 is the current stable release, with releases following Prisma's cadence. It integrates tightly with Prisma Data Platform to persist the temporary database into a project. Differentiators: one-command setup, auto-handles connection strings via Prisma schema, and supports claim/persist workflows.
npm install create-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a temporary Prisma Postgres database, logs its connection URL, and demonstrates optional claim to persist.
Use claimDatabase() to persist the database to a Prisma Data Platform project before expiration.
Ensure you are logged in via `prisma login` or set PRISMA_TOKEN environment variable.
Use import syntax or switch to dynamic import() if using CommonJS.
Run `npm install create-postgres` or `yarn add create-postgres`, then verify import path.
Change to `import { createPostgres } from 'create-postgres'` or use `await import('create-postgres')`.Run `prisma login` or set PRISMA_TOKEN environment variable with a valid token.
No dependency data recorded yet.