Create a Prisma 8 app with Prisma Composer built in.
Use your package manager:
npx create-prisma@latest my-app
pnpm dlx create-prisma@latest my-app
yarn dlx create-prisma@latest my-app
bunx create-prisma@latest my-appThe CLI initializes Prisma 8 with prisma@next, installs dependencies, emits the contract, and generates a deployable Composer app. PostgreSQL projects use Composer's native Prisma Postgres provider, including migrations and a typed runtime client.
The deployment prompt is:
Deploy to Prisma now?
Choose no to deploy later with the generated deploy script.
When multiple Prisma workspace sessions are available, the CLI asks which workspace should receive
the deployment. For unattended usage, pass --workspace <id-or-name> or omit it to use the active
workspace. Choosing another workspace also updates the Prisma CLI's active workspace session.
minimalhonoelysianestnextsvelte(SvelteKit)astronuxttanstack-start
PostgreSQL and MongoDB are supported with PSL or TypeScript contract authoring. npm, pnpm, Yarn, and Bun are supported.
Deno is supported for local minimal PostgreSQL apps:
deno run -A npm:create-prisma@latest my-deno-app --template minimal --provider postgres --package-manager deno --no-deployPrisma Compute does not support Deno deployments yet.
- positional project name or
--name --template--provider postgres|postgresql|mongo|mongodb--authoring psl|typescript--package-manager npm|pnpm|yarn|bun|deno--deploy/--no-deploy--workspace <id-or-name>--yes--force--verbose
This branch intentionally targets Prisma 8 only. It does not generate a Prisma 7 compatibility path.
bun install
bun run test:unit
bun run typecheck
bun run check
bun run buildPublished builds may send anonymous usage telemetry. It never includes project names, file paths, or database URLs. Disable it with DO_NOT_TRACK, CREATE_PRISMA_DISABLE_TELEMETRY, or CREATE_PRISMA_TELEMETRY_DISABLED.