Skip to main content

How to Turn Off DVC Usage Analytics

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

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​

Syntax
dvc config --global core.analytics false
PartWhat it means
dvc configReads or writes a DVC setting
--globalWrites to your user account's settings file, used by every project. Without it, DVC writes to the current project's .dvc/config
core.analyticsThe setting: the analytics key in the core section
falseOff

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:

dvc/commands/init.py (DVC 3.67.1)
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 --version to check; this guide uses DVC 3.67.1.

Step 1: Turn Analytics Off for Your User​

Terminal
dvc config --global core.analytics false

The command prints nothing. Read the setting back:

Terminal
dvc config --global --list
Output
core.analytics=false

The terminal after dvc config --global core.analytics false, which prints nothing, and dvc config --global --list, which prints core.analytics=false.

The dvc config reference gives the file this writes to:

SystemGlobal 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:

Terminal
dvc status -v
Output
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.

The terminal after dvc status -v: two DEBUG lines with the DVC version and command, the status message, and a last line that says 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:

Terminal
export DVC_NO_ANALYTICS=1
dvc status -v
Output (last line)
2026-12-04 10:42:25,297 DEBUG: Analytics is disabled.

The terminal after export DVC_NO_ANALYTICS=1 and dvc status -v, whose last line says 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:

Terminal
dvc config core.analytics false
cat .dvc/config
Output
[core]
analytics = false
Terminal
git status --short
Output
M .dvc/config

The terminal after dvc config core.analytics false: .dvc/config now holds a core section with analytics = false, and git status shows .dvc/config as modified.

cat works in PowerShell too.

Turn It Back On​

--unset removes the setting, and DVC goes back to its default, which is on:

Terminal
dvc config --global --unset core.analytics
dvc config --global --list

Both commands print nothing: the global settings file is now empty.

Common Mistakes​

MistakeWhat happensDo this instead
Leaving out --globalOnly the current project has analytics offAdd --global for every project on your computer
Setting DVC_NO_ANALYTICS in one terminalOther terminals, and new ones, don't have itUse the --global setting, which is saved in a file

Troubleshooting​

SymptomLikely causeFix
dvc config --global --list prints nothingNo global setting yet, or it was unsetRun Step 1
No Analytics is ... line in the output-v is missingRun 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​