C
C#•2y ago
CuriousGuy

ā” How do I uninstall .net on Mac ?

upon running the following command, I still see presence of .net on my system
dot net --info
dot net --info
The output is
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
No runtimes were found.

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
No runtimes were found.

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
How do I remove this ?
22 Replies
Pobiega
Pobiega•2y ago
Uninstall Tool - .NET
An overview of the .NET Uninstall Tool, a guided tool that enables the controlled clean-up of .NET SDKs and runtimes.
CuriousGuy
CuriousGuyOP•2y ago
yes
CuriousGuy
CuriousGuyOP•2y ago
CuriousGuy
CuriousGuyOP•2y ago
I want to remove the following. I believe removing these would make the uninstall complete and a success
Pobiega
Pobiega•2y ago
dotnet-core-uninstall and ./dotnet-core-uninstall are not the same thing thats why your commands at the bottom didn't work quite possibly. Try running the tool properly one more time, and if that didnt work nuke that folder
CuriousGuy
CuriousGuyOP•2y ago
which one are you talking about ?
Pobiega
Pobiega•2y ago
Pobiega
Pobiega•2y ago
you forgot the ./prefix for running local executables
CuriousGuy
CuriousGuyOP•2y ago
ohh I see I later ran it
Pobiega
Pobiega•2y ago
okay
CuriousGuy
CuriousGuyOP•2y ago
but it didn't help
Pobiega
Pobiega•2y ago
alright you can nuke the dotnet folder then
CuriousGuy
CuriousGuyOP•2y ago
I deleted it
Pobiega
Pobiega•2y ago
šŸ‘
CuriousGuy
CuriousGuyOP•2y ago
using sudo rm -rf *
Pobiega
Pobiega•2y ago
yup make sure you remove the actual folder too
CuriousGuy
CuriousGuyOP•2y ago
inside the dotnet directory and now everything is gone
Pobiega
Pobiega•2y ago
so share does not contain a dotnet folder
CuriousGuy
CuriousGuyOP•2y ago
thanks for responding šŸ™ It does but now it is empty
Pobiega
Pobiega•2y ago
well remove the dir too just in case some installer gets upset šŸ™‚
CuriousGuy
CuriousGuyOP•2y ago
ok..will delete the directory of dotnet then Deleted!
Accord
Accord•2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?