apps/docs/content/docs/orm/reference/environment-variables-reference.mdx
This document describes different environment variables and their use cases.
DEBUGDEBUG is used to enable debugging output in Prisma Client.
Example setting Prisma Client level debugging output:
# enable only `prisma:client`-level debugging output
export DEBUG="prisma:client"
See Debugging for more information.
NO_COLORNO_COLOR if truthy will activate the colorless setting for error formatting and strip colors from error messages.
See Formatting via environment variables for more information.
BROWSERBROWSER is for Prisma Studio to force which browser it should be open in, if not set it will open in the default browser.
BROWSER=firefox prisma studio --port 5555
Alternatively you can set this when starting Studio from the CLI as well:
prisma studio --browser firefox
See Studio documentation for more information.
PRISMA_HIDE_PREVIEW_FLAG_WARNINGSPRISMA_HIDE_PREVIEW_FLAG_WARNINGS hides the warning message that states that a preview feature flag can be removed. It is a truthy value.
PRISMA_HIDE_UPDATE_MESSAGEPRISMA_HIDE_UPDATE_MESSAGE is used to hide the update notification message that is shown when a newer Prisma CLI version is available. It's a truthy value.
PRISMA_DISABLE_WARNINGSDisables all CLI warnings generated by logger.warn.
PRISMA_SCHEMA_DISABLE_ADVISORY_LOCKDisables the advisory locking used by Prisma Migrate. Useful for certain database configurations like Percona-XtraDB-Cluster or MariaDB Galera Cluster.
The Prisma CLI supports custom HTTP(S) proxies to download the Prisma engines. These can be helpful to use when working behind a corporate firewall. See Using a HTTP proxy for the CLI for more information.
NO_PROXYNO_PROXY is a comma-separated list of hostnames or IP addresses that do not require a proxy.
NO_PROXY=myhostname.com,10.11.12.0/16,172.30.0.0/16
HTTP_PROXYHTTP_PROXY is set with the hostname or IP address of a proxy server.
HTTP_PROXY=http://proxy.example.com
HTTPS_PROXYHTTPS_PROXY is set with the hostname or IP address of a proxy server.
HTTPS_PROXY=https://proxy.example.com