This tool helps you to remove old .nuget packages and reduce the disk space usage.
dotnet tool install --global Hopper.CleanNugetPackage
dotnet tool uninstall -g Hopper.CleanNugetPackage
Below there are some steps to understand how it works:
hopperclean microsoft.applicationinsights
- You can specify a part of directory name like above, and the tool will run to all paths that starts with the name of package you've specified.
hopperclean microsoft.entityframeworkcore.abstractions
- You can specify the full name, not just the initial part libe above.