Installing the .NET Core SDK on macOS
For coding in C#, you will need to install the .NET
SDK which will allow you to use the dotnet terminal command to create, build, and run your C# project code.
Steps
-
Download the latest version of the .NET SDK for macOS from the official .NET website: dotnet.microsoft.com/download
-
Run the downloaded installer and follow on-screen instructions.
-
Restart your terminal, and run the following command to check it is installed: