
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
prisma-client-cli
Advanced tools
Generates a CLI from your Prisma schema that allows you to query, seed, and export data
A Prisma generator that generates a command-line interface from your Prisma schema using oclif. Use the CLI to run queries, seed records, or export your query results to a CSV file.
View the example project to see it in action.
Install the generator and oclif:
npm install prisma-client-cli @oclif/core --save-dev
Add the generator to your Prisma schema:
generator cli {
provider = "prisma-client-cli"
}
Run Prisma's generate command to generate the CLI in the ./prisma/cli/ directory:
npx prisma generate
Add the following configuration for oclif to your package.json:
"oclif": {
"commands": "./prisma/cli/commands",
"topicSeparator": " "
}
For more information about oclif's configuration, refer to their documentation.
Run ./prisma/cli/bin/run --help to view available commands for your generated CLI.
Use the --_csv flag to output the query results as comma-separated values.
You can prevent the CLI from being generated by setting the following environment variable:
PRISMA_CLIENT_CLI=false
FAQs
Generates a CLI from your Prisma schema that allows you to query, seed, and export data
We found that prisma-client-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.