Created
July 3, 2016 21:37
-
-
Save sandrovicente/5590f5ac993d9d7fef038fd2858efcc3 to your computer and use it in GitHub Desktop.
Steps to uninstall a DotNet CLI version on Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete the dotnet folder under /usr/local/share/dotnet | |
1. cd /usr/local/share/dotnet && ls | |
2. sudo rm -rf dotnet | |
# delete the dotnet reference file at /etc/paths.d/dotnet | |
1. cd /etc/paths.d && ls | |
2. sudo rm dotnet |
Thanks!!!
Official steps to remove the all versions dotnet core framework
dotnet/aspnetcore#1746 (comment)
Official latest version: dotnet-uninstall-pkgs.sh
Thanks!
Thanks!!!
Thanks+++
Official way to uninstall 2023 https://learn.microsoft.com/en-gb/dotnet/core/additional-tools/uninstall-tool?tabs=macos
It removes the SDKs and the Runtime, but not the /usr/local/share/dotnet
folder. This you have to do manually.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the tip.