Install .net: 8.0

Run dotnet new console && dotnet run and see .NET 8 in action.

brew install --cask dotnet-sdk To install only the runtime (no SDK): install .net 8.0

.NET 8.0 is a long-term support (LTS) release from Microsoft, meaning it will receive security and stability updates for three years. Whether you're building web APIs, desktop applications, or cloud-native services, installing .NET 8 is your first step. Run dotnet new console && dotnet run and see