Dotnet install mac: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
; Q what version do you need?
; Q what version do you need?
: examine global.json
: Examine global.json of your project.


; List available vertions from MS:
; List available versions from MS:
: https://dotnet.microsoft.com/en-us/download/dotnet
: https://dotnet.microsoft.com/en-us/download/dotnet


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


; list avalable cask versions:
; List available cask versions:


  brew search --casks --desc 'dotnet'
  brew search --casks --desc 'dotnet'
Line 19: Line 19:
  brew install --cask dotnet-sdk3-1-418
  brew install --cask dotnet-sdk3-1-418


; Switch beyween them after having installed them:
; Switch between them after having installed them:


  dotnet --list-sdks
  dotnet --list-sdks


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

Latest revision as of 13:38, 2 May 2022

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