Skip to content

Instantly share code, notes, and snippets.

@Anderson0xFF
Forked from sandrovicente/remove-dotnet-cli-osx
Created October 24, 2020 13:38
Show Gist options
  • Select an option

  • Save Anderson0xFF/4e40aa37180abc664198b91148576366 to your computer and use it in GitHub Desktop.

Select an option

Save Anderson0xFF/4e40aa37180abc664198b91148576366 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment