New:Socket for Asana Is Now Available.Learn more
Get Started

prisma

Package Overview
Dependencies
Maintainers
1
Versions
9312
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma

The Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform.

Source
npmnpm
Version
8.0.0-rc.12-dev.91
Version published
Weekly downloads
13M
-25.18%
Maintainers
1
Weekly downloads
 
Created
Source

Prisma

Prisma CLI

npm version license Node.js

QuickstartCommandsBeta notesDocumentationSupport

prisma is the public beta of the new CLI for the Prisma Developer Platform.

It is one binary for the ORM, Composer, and the Prisma Developer Platform: projects, branches, services, service versions, environment variables, and the Prisma ORM schema and migration workflow.

Quickstart

Install the beta package locally:

npm install --save-dev prisma@next

Run the binary exposed by this package:

npx prisma --help
npx prisma auth login
npx prisma project create my-app
npx prisma git connect git@github.com:owner/repo.git

Deployments start from pushing the connected repository, the Console, or prisma deploy.

With pnpm:

pnpm add -D prisma@next
pnpm prisma auth login
pnpm prisma git connect

Useful next commands:

npx prisma service list
npx prisma service logs
npx prisma project env add DATABASE_URL=postgresql://example --role preview
npx prisma project env add --file .env --role preview
npx prisma project env list
npx prisma project env list --role preview

Commands

GroupWhat it does
authLog in, log out, and inspect the active Prisma account.
projectList, create, link, and manage projects and their environment variables.
gitConnect or disconnect a project from a GitHub repository; pushes deploy.
branchList Prisma branches for the resolved project.
postgresCreate, inspect, back up, restore, and delete Prisma Postgres databases and their connections.
bucketCreate, list, and delete object-store buckets and their access keys.
serviceInspect services: versions, logs, domains, promote, roll back, delete.
dev, deployRun a Composer app locally; deploy it to the platform.
contract, db, migration, orm init, lspThe Prisma ORM workflow.

Common examples:

npx prisma --version
npx prisma auth whoami
npx prisma project show
npx prisma branch list
npx prisma service list
npx prisma service version promote VERSION_ID

Built for humans, CI, and agents

  • Human-readable output by default.
  • --json for structured output.
  • --no-interactive and --yes for automation.
  • PRISMA_SERVICE_TOKEN for headless authenticated commands.
  • Stable command groups, flags, and error codes for scripts and agents.
  • Environment variable values are not printed back to the terminal.

Beta notes

  • Requires Node.js 22.18 or newer.
  • This is a release-candidate package and may change quickly.
  • The 8.0.0 release candidates publish as prisma on the next dist-tag.
  • The package binary is prisma.
  • Local project context is cached in .prisma/local.json, which is gitignored and not a declarative repo config file.

Documentation

Support

Issues and feedback are welcome while the CLI is in public beta. Please use GitHub issues for bug reports and feature requests.

Security reports should follow Prisma's security policy and should not be filed as public issues.

License

Apache-2.0

Keywords

prisma

FAQs

Package last updated on 04 Sep 2026

Related posts