Dotnet SDK

Check if installed

dotnet --version

If dotnet SDK is not installed the above command will not be recognised! This command will not work if even if dotnet runtime is installed! In other words, it needs an SDK and runtime is not considered!

The above command only shows the lastest installed, not all. There could be more in C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App

List all SDKS and their paths

dotnet --info

Install dotnet SDK

winget install Microsoft.DotNet.SDK.7

Around 200 MB download size via winget and 870 MB disk space after installation!

Last updated