Dotnet install mac

From Federal Burro of Information
Jump to navigationJump to search
Q what version do you need?
Examine global.json of your project.
List available versions from MS
https://dotnet.microsoft.com/en-us/download/dotnet
install tap
brew tap isen-ng/dotnet-sdk-versions

This is just a wrapper. As of now ( May 2022 ) it's reasonably well maintained.

List available cask versions
brew search --casks --desc 'dotnet'
install the one you want
brew install --cask dotnet-sdk3-1-418
Switch between them after having installed them
dotnet --list-sdks

https://docs.microsoft.com/en-us/dotnet/core/versions/selection