Telemetry in .NET CLI

Last tested version
7.0.5
Alternatives
Is consent required?
No (opt-out)
At what point is the data collection disclosed?
Usage
Data collected
Device, Demography, Environment, Project, Usage
Scopes
CLI
Links
0

Requesting consent: $0

No consent is requested

50

Disclosure: $50

Data collection is disclosed when the tool is used

20

Data sensitivity: $20

Project information is collected

How to opt out of .NET CLI

1. Add environment variable

This disabled telemetry for the device you’ve set the environment variable on.

Note that if this tool is used elsewhere, like a during Continuous Integration, you’ll have to add these environment variables there, too.

DOTNET_CLI_TELEMETRY_OPTOUT=1