Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Steps to uninstall a DotNet CLI version on Mac OS X
# 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
Copy link

gabrielbarceloscn commented Dec 23, 2017

Thanks for the tip.

Copy link

rncantos commented Jan 10, 2018


Copy link

andrericardo commented Apr 23, 2018

Official steps to remove the all versions dotnet core framework
dotnet/aspnetcore#1746 (comment)

Copy link

rosona commented Aug 16, 2018

Official latest version:

Copy link

jferreira23 commented Sep 4, 2018


Copy link

aldrinjunior commented Aug 16, 2020


Copy link

MartinPereiraP commented Nov 22, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment