Hona.NuGetHelper 0.2.0

dotnet tool install --global Hona.NuGetHelper --version 0.2.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Hona.NuGetHelper --version 0.2.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Hona.NuGetHelper&version=0.2.0                
nuke :add-package Hona.NuGetHelper --version 0.2.0                

NuGetHelper

Tooling to use NuGet long term suck. NuGet is awesome. This CLI tool tries to patch some of the gaps.

NuGet Version

What can this do?

$ nuget-helper --help

...

Commands:
  clean    Remove unused PackageVersion definitions by using `dotnet nuget why` to audit usages
  upgrade  Upgrade all NuGet packages (csproj or CPM), including transitive pinned versions

Installation

dotnet tool install -g Hona.NuGetHelper

Example commands

Help

nuget-helper --help

Upgrade all packages using ./Directory.Packages.props

nuget-helper upgrade

Upgrade all packages for a specific project and allow pre-release versions

nuget-helper upgrade --path .\NuGetHelper\NuGetHelper.csproj --stable false

Clean unused PackageVersion definitions

nuget-helper clean
nuget-helper clean --dry-run
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.2.0 53 1/20/2025
0.1.0 67 1/20/2025