NuGone 2.1.1
dotnet tool install --global NuGone --version 2.1.1
dotnet new tool-manifest
dotnet tool install --local NuGone --version 2.1.1
#tool dotnet:?package=NuGone&version=2.1.1
nuke :add-package NuGone --version 2.1.1
![]()
NuGone

Automatically detect and remove unused NuGet package references in your .NET projects. Keep your codebase lean, fast, and secure.
⚡ Getting Started
You can install NuGone as a .NET global tool:
dotnet tool install --global nugone
After installation, you can use the nugone command anywhere:
nugone analyze --project MySolution.sln
For more usage instructions, see future documentation updates.
🚀 Usage
To detect unused NuGet packages in your .NET projects, use the following command:
nugone analyze --project <SOLUTION_OR_PROJECT_PATH>
Options:
--output jsonShow results in JSON format--verboseShow detailed analysis output
Example:
nugone analyze --project MySolution.sln --output json
For a list of all commands and parameters, use:
nugone --help
Only the analyze command is currently available. No changes are made; analysis is read-only.
📚 Documentation
For comprehensive documentation, see the Documentation Index which includes user guides, migration instructions, performance details, and more.
🤝 Contributing
If you'd like to contribute, please see CONTRIBUTING.md for detailed instructions on forking, branching, building, and running the project locally.
📄 License
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
Fixed GitHub release workflows for .slnx solution files and added automatic NuGet publishing after release creation. Updated README with improved formatting and banner image.