The first step is to download and install the .NET Core SDK
.
This is the development kit for .NET that will be the engine for your application.
If you’re familiar with Java,
.NET Core SDK
is similar toOracle JDK
,OpenJDK
, or the other billion JDK variants.
The simplest way to obtain the .NET Core SDK on a Mac is through Homebrew. Once you’ve downloaded and installed Homebrew, run the following command in your Terminal:
brew cask install dotnet-sdk
Once installed, if you want to verify the installation, run:
dotnet --version
.NET Core SDK comes bundled with the .NET Core CLI, in the form of
dotnet
command.
To be able to run a debugger on your code, you have to install the Mono project, a cross-platform implementation of the .NET Standard:
brew install mono
Navigate to Microsoft .NET Core downloads page and install the MacOS version of the latest .NET Core SDK.