Install the .NET SDK in C#
From the C# Programming Language cheat sheet ยท Setup ยท verified Jul 2026
Install the .NET SDK
Install .NET 10, verify the SDK, and run a console application.
bash
# Windows
winget install Microsoft.DotNet.SDK.10
# Ubuntu
sudo apt update
sudo apt install dotnet-sdk-10.0๐ Install the SDK, not only the runtime, to build C# projects
๐ก The SDK includes the matching .NET runtimes
๐ dotnet --list-sdks shows every installed SDK
๐ฏ Use the latest .NET 10 SDK for C# 14 projects
installdotnetsdkconsole
Continue with C# Programming Language
Save the full cheat sheet or work through every related task.