System Environmental Variables

How to control ZenML behavior with environmental variables

This is an older version of the ZenML documentation. To read and view the latest version please visit this up-to-date URL.

System environmental variables

There are a few pre-defined environmental variables that can be used to control some of the behavior of ZenML. See the list below with default values and options:

Choose from INFO, WARN, ERROR, CRITICAL, DEBUG:

ZENML_LOGGING_VERBOSITY=INFO

Explicit path to the ZenML repository:

ZENML_REPOSITORY_PATH

Name of the active profile, see Setting Stacks and Profiles with Environment Variables:

ZENML_ACTIVATED_PROFILE

Name of the active stack, see Setting Stacks and Profiles with Environment Variables:

ZENML_ACTIVATED_STACK

Setting to false disables analytics:

ZENML_ANALYTICS_OPT_IN=true

Setting to true switches to developer mode:

ZENML_DEBUG=false

When true, this prevents a pipeline from executing:

ZENML_PREVENT_PIPELINE_EXECUTION=false

Set to false to disable the rich traceback:

ZENML_ENABLE_RICH_TRACEBACK=true

Path to global ZenML config:

ZENML_CONFIG_PATH

Setting to false disables integrations logs suppression:

ZENML_SUPPRESS_LOGS=false

Last updated