winget install -a x86 Microsoft.DotNet.Runtime.6 --Force
winget install -a x64 Microsoft.DotNet.Runtime.6 --Force
winget install -a x86 Microsoft.DotNet.AspNetCore.6 --Force
winget install -a x64 Microsoft.DotNet.AspNetCore.6 --Force
winget install --id=Microsoft.DotNet.HostingBundle.6 -e
winget install -a x64 Microsoft.DotNet.DesktopRuntime.6 --Force
1/ .NET version verification
To help you verify the .NET version installed on your device, please follow the steps below:
Open cmd or PowerShell
- dotnet –version
- This will display the installed .NET version.
- dotnet –list-sdks
- This will list all the installed .NET SDKs on your device.
- dotnet –list-runtimes
- This will display all the installed .NET runtimes on your device.
Please note that the latest version of .NET is .NET 8.0.8, released on August 15, 20241. You can download it from the official .NET download page
Download .NET 8.0 (Linux, macOS, and Windows) (microsoft.com)
More information about .NET version: core/releases.md at main · dotnet/core · GitHub