'`dotnet --list-sdks` does not see the installed sdk on Mac. Why?

I downloaded the .NET SDK from here

enter image description here

then I just run the downloaded file and it seems I got everything installed.

enter image description here

enter image description here

But whenever I run the dotnet --list-sdks I am not getting the installed .NET SDK in the list.

enter image description here

Could someone help me understand what am I missing here, please?



Solution 1:[1]

The root cause of the issue in my case was that I have a Mac on the M1 chip. The M1 chip does not see any SDK below the .NET 6.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 qqqqqqq