Install .NET SDK
The .NET SDK is a set of libraries and tools that allow developers to create .NET applications and libraries.
Choose version (or use LTS)
Select the version required then either a package manager or binary for your OS from Microsoft
Note On macOS, creation of symbolic links is missing from the installer after installation. To create them manually run
ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
Verify installation
Check your installation was successful with
dotnet --version
Install .NET tools
As per Microsoft's setup guide the Entity Framework tools allow the creation and application of code first migrations can be installed with the command
dotnet tool install --global dotnet-ef