How to Turn Off DVC Usage Analytics
DVC sends anonymous usage statistics to its developers unless you turn them off, and says so in a red box the first time you run dvc init. One setting turns them off for every project on your computer. This guide sets it, checks that DVC sees it, and shows the two other ways, with DVC 3.67.1.
Syntax
dvc config --global core.analytics false
| Part | What it means |
|---|---|
dvc config | Reads or writes a DVC setting |
--global | Writes to your user account's settings file, used by every project. Without it, DVC writes to the current project's .dvc/config |
core.analytics | The setting: the analytics key in the core section |
false | Off |
DVC's usage analytics page gives the project form, dvc config core.analytics false, and adds: "you can use the --global or --system options of dvc config to disable analytics for the active user or for everyone in the system, respectively."
What DVC Collects
The same page lists what each event records: the DVC version, whether DVC came from a binary release, the operating system, whether the project uses Git, the command, its return code, and a random user ID. The reports "are done in a separate background process and fail fast", and the data is kept for 14 months.
The page also says: "You will be notified the first time you run dvc init." This is the code in DVC 3.67.1 that prints that notice, in a red box:
if analytics.is_enabled():
ui.write(
boxify(
"DVC has enabled anonymous aggregate usage analytics.\n"
"Read the analytics documentation (and how to opt-out) here:\n"
+ fmt_link("https://dvc.org/doc/user-guide/analytics"),
border_color="red",
)
)
Every DVC command in this guide ran with analytics already off, so none of the output below shows that box.
The Example
analytics-demo is a Git repository where dvc init has already run. The setting itself applies to every project; the project is only where the check in Step 3 runs.
Prerequisites
- DVC. Run
dvc --versionto check; this guide uses DVC 3.67.1.
Step 1: Turn Analytics Off for Your User
dvc config --global core.analytics false
The command prints nothing. Read the setting back:
dvc config --global --list
core.analytics=false

The dvc config reference gives the file this writes to:
| System | Global settings file |
|---|---|
| macOS | $HOME/Library/Application Support/dvc/config |
| Linux | $HOME/.config/dvc/config |
| Windows | %LocalAppData%\iterative\dvc\config |
The commands are the same in PowerShell.
Step 2: Check That DVC Sees It
In a DVC project, add -v (verbose) to any command. DVC then prints its debug lines, and the last one says whether analytics are on:
dvc status -v
2026-12-04 10:42:07,335 DEBUG: v3.67.1 (pip), CPython 3.14.10 on macOS-26.7.4-arm64-arm-64bit-Mach-O
2026-12-04 10:42:07,335 DEBUG: command: /Users/you/.local/bin/dvc status -v
There are no data or pipelines tracked in this project yet.
See <https://dvc.org/doc/start> to get started!
2026-12-04 10:42:07,519 DEBUG: Analytics is disabled.

Analytics is disabled. comes from the setting alone: this run had no environment variable set. With analytics on, the same line says Analytics is enabled., from this line in DVC's analytics.py: logger.debug("Analytics is %sabled.", "en" if enabled else "dis").
Another Way: an Environment Variable
The analytics page adds: "Another way to disable analytics is to set the environment variable DVC_NO_ANALYTICS (will override config)." Set it in the terminal, then check:
- bash / zsh
- PowerShell
export DVC_NO_ANALYTICS=1
dvc status -v
$env:DVC_NO_ANALYTICS = "1"
dvc status -v
2026-12-04 10:42:25,297 DEBUG: Analytics is disabled.

This run used a settings file without core.analytics, so the variable did it on its own. It lasts until you close that terminal. The PowerShell lines were checked in PowerShell 7.6 on macOS.
For One Project Only
Without --global, the setting goes into the project's .dvc/config, which Git tracks. Commit it, and everyone who clones the project has analytics off in it:
dvc config core.analytics false
cat .dvc/config
[core]
analytics = false
git status --short
M .dvc/config

cat works in PowerShell too.
Turn It Back On
--unset removes the setting, and DVC goes back to its default, which is on:
dvc config --global --unset core.analytics
dvc config --global --list
Both commands print nothing: the global settings file is now empty.
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
Leaving out --global | Only the current project has analytics off | Add --global for every project on your computer |
Setting DVC_NO_ANALYTICS in one terminal | Other terminals, and new ones, don't have it | Use the --global setting, which is saved in a file |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
dvc config --global --list prints nothing | No global setting yet, or it was unset | Run Step 1 |
No Analytics is ... line in the output | -v is missing | Run the command with -v |
FAQ
Does dvc init still show the notice after this?
No. The code above prints the box only when analytics are on. With them off, dvc init starts with Initialized DVC repository.
Can I turn it off for everyone on the computer?
Yes: --system writes to the system settings file, which the analytics page describes as the setting "for everyone in the system". The dvc config reference gives its place on macOS as /Library/Application Support/dvc/config, on Linux as /etc/xdg/dvc/config, and on Windows as %AllUsersProfile%\Application Data\iterative\dvc\config.
Conclusion
dvc config --global core.analytics false turned DVC's usage analytics off for every project, and dvc status -v confirmed it with Analytics is disabled. The DVC_NO_ANALYTICS variable does the same for one terminal session, and the setting without --global does it for one project, shared through Git.
Additional Resources
- Anonymized Usage Analytics — what DVC collects and every way to opt out.
- dvc config — setting levels and where each file lives.
