Edit on GitHub
Environment Variables
List of environment variables to configure DVC behavior.
DVC_EXP_AUTO_PUSH
: Iftrue
, automatically push the experiments to the git remoteDVC_EXP_GIT_REMOTE
. Overridesdvc config exp.auto_push
.DVC_EXP_BASELINE_REV
: Git revision for the baseline commit from which an experiment derives. Automatically set by DVC.DVC_EXP_GIT_REMOTE
: Git remote name or URL used to push the experiments and send live metrics and plots to DVC Studio. If not specified, push toorigin
. Overridesdvc config exp.git_remote
.DVC_EXP_NAME
: Name of the experiment. Automatically set by DVC.DVC_GLOBAL_CONFIG_DIR
: Directory in which DVC will look for global configuration.DVC_NO_ANALYTICS
: Iftrue
, disables analytics. Overridesdvc config core.analytics
.DVC_PAGER
: Set what program DVC uses for paging output (for example,more
).DVC_ROOT
: Root directory of your DVC repository. Automatically set by DVC.DVC_SITE_CACHE_DIR
: Directory for the site cache dir. Overridesdvc config core.site_cache_dir
.DVC_STUDIO_OFFLINE
: Iftrue
, disables sharing live experiments even if the DVC Studio token is set. Overridesdvc config studio.offline
.DVC_STUDIO_TOKEN
: Set DVC Studio access token to use. Overridesdvc config studio.token
.DVC_STUDIO_URL
: Set URL of DVC Studio to use (in case of self-hosted DVC Studio instance). Overridesdvc config studio.url
.DVC_SYSTEM_CONFIG_DIR
: Directory in which DVC will look for system configuration.DVC_STAGE
: Contains the stage name for the current DVC stage. Automatically set by DVC.
See also DVCLive environment variables.