If you prefer using a terminal, you can install it via the Microsoft winget tool with the command: winget install --id Microsoft.DotNet.UninstallTool --source winget .
The latest versions, including the MSI installer for Windows and tarball for macOS, are hosted on the dotnet/cli-lab GitHub Releases page . .net uninstall tool download
Before deleting anything, see which versions the tool can manage. Command: dotnet-core-uninstall list . If you prefer using a terminal, you can
dotnet-core-uninstall remove --all-previews --runtime . If you prefer using a terminal
dotnet-core-uninstall remove --all-but-latest --sdk .
It currently supports Windows and macOS . Linux is not supported.