Automatically detect and remove unused NuGet package references in your .NET projects. Keep your codebase lean, fast, and secure.
You can install NuGone as a .NET global tool:
dotnet tool install --global nugoneAfter installation, you can use the nugone command anywhere:
nugone analyze --project MySolution.slnFor more usage instructions, see future documentation updates.
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.
For comprehensive documentation, see the Documentation Index which includes user guides, migration instructions, performance details, and more.
If you'd like to contribute, please see CONTRIBUTING.md for detailed instructions on forking, branching, building, and running the project locally.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.