Skip to content

Commit

Permalink
docs(readme): add telemetry warning
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksbabieiev authored and hensou committed Dec 3, 2023
1 parent 7ca29ff commit da92129
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# Contents

- [Dependencies](#dependencies)
- [Telemetry](#telemetry)
- [Install](#install)
- [Contributing](#contributing)
- [License](#license)
Expand All @@ -21,6 +22,22 @@

- `bash`, `curl`, `grep`, `sed`, `git`: generic POSIX utilities.

# Telemetry

> :warning: Once installed, the .NET SDK will collect telemetry by default ([learn more](https://learn.microsoft.com/en-us/dotnet/core/tools/telemetry#how-to-opt-out)). If you don't want to send analytics data to Microsoft, follow the instructions below before (or after) installing the SDK.
To disable telemetry, add the following line to your shell profile (`~/.bashrc`, `~/.zshrc`, `~/.config/fish/config.fish`, etc.):

```shell
export DOTNET_CLI_TELEMETRY_OPTOUT=1
```

Once added, reload your profile for the changes to take effect.

```shell
exec $SHELL
```

# Install

Installing this plugin:
Expand Down

0 comments on commit da92129

Please sign in to comment.