Dotnet install mac: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
(Created page with "; Q what version do you need? : examine global.json ; List available vertions from MS: : https://dotnet.microsoft.com/en-us/download/dotnet ; install tap brew tap isen-ng/...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
; Q what version do you need? | ; Q what version do you need? | ||
: | : Examine global.json of your project. | ||
; List available | ; List available versions from MS: | ||
: https://dotnet.microsoft.com/en-us/download/dotnet | : https://dotnet.microsoft.com/en-us/download/dotnet | ||
Line 9: | Line 9: | ||
brew tap isen-ng/dotnet-sdk-versions | 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' | brew search --casks --desc 'dotnet' | ||
Line 15: | Line 17: | ||
; install the one you want | ; install the one you want | ||
brew install --cask dotnet- | brew install --cask dotnet-sdk3-1-418 | ||
; Switch | ; 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