Skip to content
Snippets Groups Projects
Commit 4333bce8 authored by Eitot's avatar Eitot Committed by Mike McQuaid
Browse files

Clarify opt-out commands

* Clarify opt-out commands

* Partially rewrite opt-out paragraph
parent bc98fd37
No related branches found
No related tags found
No related merge requests found
......@@ -43,5 +43,15 @@ Homebrew's analytics are accessible to Homebrew's current maintainers. Contact @
## How?
The code is viewable in https://github.com/Homebrew/brew/blob/master/Library/Homebrew/utils/analytics.rb and https://github.com/Homebrew/brew/blob/master/Library/Homebrew/utils/analytics.sh. They are done in a separate background process and fail fast to avoid delaying any execution. They will fail immediately and silently if you have no network connection.
## Opting-out
If after everything you've read you still wish to opt-out of Homebrew's analytics you may set `HOMEBREW_NO_ANALYTICS=1` in your environment or run `git config --file="$(brew --repository)/.git/config" --replace-all homebrew.analyticsdisabled true` which will prevent analytics from ever being sent when either of them have been set.
## Opting out
Homebrew analytics helps us maintainers and leaving it on is appreciated. However, if you want to opt out of Homebrew's analytics, you can set this variable in your environment:
```sh
export HOMEBREW_NO_ANALYTICS=1
```
Alternatively, this will prevent analytics from ever being sent:
```sh
git config --file="$(brew --repository)/.git/config" --replace-all homebrew.analyticsdisabled true
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment