C
C#•3y ago
Sujit

ā” 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•3y 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.
Sujit
SujitOP•3y ago
yes
Sujit
SujitOP•3y ago
Sujit
SujitOP•3y ago
I want to remove the following. I believe removing these would make the uninstall complete and a success
Pobiega
Pobiega•3y 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
Sujit
SujitOP•3y ago
which one are you talking about ?
Pobiega
Pobiega•3y ago
Pobiega
Pobiega•3y ago
you forgot the ./prefix for running local executables
Sujit
SujitOP•3y ago
ohh I see I later ran it
Pobiega
Pobiega•3y ago
okay
Sujit
SujitOP•3y ago
but it didn't help
Pobiega
Pobiega•3y ago
alright you can nuke the dotnet folder then
Sujit
SujitOP•3y ago
I deleted it
Pobiega
Pobiega•3y ago
šŸ‘
Sujit
SujitOP•3y ago
using sudo rm -rf *
Pobiega
Pobiega•3y ago
yup make sure you remove the actual folder too
Sujit
SujitOP•3y ago
inside the dotnet directory and now everything is gone
Pobiega
Pobiega•3y ago
so share does not contain a dotnet folder
Sujit
SujitOP•3y ago
thanks for responding šŸ™ It does but now it is empty
Pobiega
Pobiega•3y ago
well remove the dir too just in case some installer gets upset šŸ™‚
Sujit
SujitOP•3y ago
ok..will delete the directory of dotnet then Deleted!
Accord
Accord•3y 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?