Opt out from .NET Core telemetry

So Microsoft decided that the .NET Core Tools should “phone home” with telemetry data it gathers while using the tools to e.g. run or build applications using .NET Core.

While it is an aggressive default for an open source project, it is easy to opt-out. Open a terminal in Linux and type the following to disable telemetry system-wide for good.

echo DOTNET_CLI_TELEMETRY_OPTOUT=1 | sudo tee -a /etc/environment