dotnet-sdk versions tap
This tap contains different versions that you can install in parallel to the latest version provided by the official cask.
Install one of the previous versions by tapping this repository and running the install command.
Installing one of the versions here
brew tap isen-ng/dotnet-sdk-versions brew cask install <version> dotnet --list-sdks
||dotnet 3.1.101||Conflicts with official cask if
||dotnet 2.2.402||Conflicts with official cask if
Because the dotnet packages uses shared dependencies between different versions, it is unwise to delete these dependencies when uninstalling a particular version as it will cause other versions not to work.
If there is a need to purge these dependencies, use the
brew cask zap <version>
Important: Uninstalling the offical version will also remove these dependencies, so you'll need to reinstall the particular version you want to use again.
Using a particular version
dotnet command will automatically use the latest appropriate version unless specified by