Command Reference

This page provides information on all commands, flags and configurations that you can use with the improved Prisma Util CLI.

Prisma Util is a plug-and-play replacement for the Prisma CLI. All commands provided by this tool have the same names as the ones from the Prisma CLI Official Reference, which shows all commands that you can use. Prisma Util also has some additional commands which are explained in this section.

Whenever you use a command with Prisma Util that uses your schema, the toolchain will run the bundling process, then we'll pass the path of the bundled schema to the Prisma CLI using --schema ${path}. This way, we can make sure that the schema is used adequately.

Global Flags

Prisma Util offers some CLI flags that you can use on all commands to customize the behavior. These flags are exclusive to this tool and won't be passed to Prisma.

  • --config <path> - Change the path to the configuration file. path needs to be a relative path, which denotes a JavaScript file that exports a valid Prisma Util configuration object. The default value of this option is prisma-util.config.mjs.

Last updated