How to check which .NET SDKs and runtimes are installed (Windows, macOS, Linux)
Three commands tell you exactly which .NET SDKs and runtimes are on a machine: dotnet --list-sdks, dotnet --list-runtimes and dotnet --info. This guide shows what each one prints, how to read SDK and runtime versions, where .NET installs itself on Windows, macOS and Linux, and what to check when the dotnet command is not found.