Edit on GitHub

Environment Variables

List of environment variables to configure DVC behavior.

  • DVC_EXP_AUTO_PUSH: If true, automatically push the experiments to the git remote DVC_EXP_GIT_REMOTE. Overrides dvc 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 to origin. Overrides dvc 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: If true, disables analytics. Overrides dvc 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. Overrides dvc config core.site_cache_dir.
  • DVC_STUDIO_OFFLINE: If true, disables sharing live experiments even if the DVC Studio token is set. Overrides dvc config studio.offline.
  • DVC_STUDIO_TOKEN: Set DVC Studio access token to use. Overrides dvc config studio.token.
  • DVC_STUDIO_URL: Set URL of DVC Studio to use (in case of self-hosted DVC Studio instance). Overrides dvc 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.

๐Ÿ› Found an issue? Let us know! Or fix it:

Edit on GitHub

โ“ Have a question? Join our chat, we will help you:

Discord Chat