How do I install the latest .NET 6 (x86) version using winget

244 Views Asked by At

Using winget to install .net 6, say with command:

"winget install Microsoft.DotNet.DesktopRuntime.6"

always installs the x64 version. How do I install the x86 version?

I tried various winget search, or winget list such as:

"winget search dotnet" or "winget search 86", nothing helpful comes out

1

There are 1 best solutions below

0
On

Adding "-a x86" seems to work, so the command would be:

"winget install Microsoft.DotNet.DesktopRuntime.6 -a x86"