Sunday, May 15, 2022

[FIXED] How do I stop .NET Telemetry to stop collecting data in Ubuntu Linux

Issue

When updating my ubuntu system I saw the following messages. **Telemetry

The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry**

How can I disable the telemetry from collecting data?


Solution

Try using this. This should disable the telemetry data collection.

export DOTNET_CLI_TELEMETRY_OPTOUT=1

Update: I agree with XPhyro. One can add this to the ~/.bash_profile as well.



Answered By - Ronnie Rahman
Answer Checked By - Robin (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.