Where is the default .NET Core SDK path in MacOS

For me it was:

/System/Volumes/Data/Users/$USER/.dotnet

Also, tips, if you run find / -name dotnet do it like:

find / -name dotnet 2>/dev/null

That way you don't get any permissions errors just real hits.


Try this path: /usr/local/share/dotnet/dotnet

It took some time to find it:

find / -name dotnet

If you run this in your terminal, it will list the installed SDK's and their locations. I believe it works in windows as well

dotnet --list-sdks