Skip to content

install dotnet-sdk command not working

Issue : MacOS

brew cask install dotnet-sdk” command not working (or any issues installing Homebrew):


Solution:

The corrected command is:

Terminal window
brew install dotnet-sdk --cask

Or alternatively, you can download .NET 7.0 from the Microsoft website and click on the macOS installer link.

Note: Arm64 is used for M1 chips onwards, and x64 is used for Intel based chips.