How do I set the value in a command shell for dotnet core
<p>Running dotnet core command <strong>dotnet run</strong> in a command line I found this</p>

<p><em>You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.</em></p>

<p><a href="https://i.stack.imgur.com/qFH9C.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qFH9C.png" alt="DOTNET_CLI_TELEMETRY_OPTOUT"></a></p>

<p>How do I set this variable? </p>

<p>Thanks for your time.</p>