Nuggy.Cli
1.0.0-preview.20250918040319
This is a prerelease version of Nuggy.Cli.
dotnet tool install --global Nuggy.Cli --version 1.0.0-preview.20250918040319
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Nuggy.Cli --version 1.0.0-preview.20250918040319
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Nuggy.Cli&version=1.0.0-preview.20250918040319&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Nuggy.Cli --version 1.0.0-preview.20250918040319
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuggy
<div align="center"> <img src="assets/logo.png" alt="Nuggy Logo" width="200"/> </div>
nuggy is a command-line tool that provides an intuitive interface to explore package metadata, view package contents, and manage NuGet feed sources.
Installation
As a .NET Global Tool (Recommended)
# Install from NuGet
dotnet tool install -g Nuggy.Cli
Install from local source
git clone https://github.com/captainsafia/nuggy.git
cd nuggy/src
dotnet pack
dotnet tool install -g Nuggy.Cli --add-source ../artifacts/packages
Build from Source
git clone https://github.com/captainsafia/nuggy.git
cd nuggy/src
dotnet build
dotnet run -- --help
Usage
Getting Started
# Show help
nuggy --help
# Show version
nuggy --version
🌐 Feed Management
List all configured feeds
nuggy feeds list
Add a new feed
# Add the official NuGet.org feed
nuggy feeds add --name "nuget.org" --source "https://api.nuget.org/v3/index.json"
# Add a feed and set it as default
nuggy feeds add --name "dotnet10" --source "https://www.myget.org/F/aspnetcore-dev/api/v3/index.json" --default
Set default feed
nuggy feeds set nuget.org
📦 Package Operations
View package metadata
# Get metadata for the latest version
nuggy package metadata Newtonsoft.Json
# Get metadata for a specific version
nuggy package metadata Newtonsoft.Json --version 13.0.3
# Use a specific feed
nuggy package metadata Newtonsoft.Json --feed nuget.org
List package versions
# List all versions of a package
nuggy package versions Newtonsoft.Json
# Use a specific feed
nuggy package versions Newtonsoft.Json --feed nuget.org
View and download package contents
# Download and view package contents (saves to global packages folder)
nuggy package show Newtonsoft.Json
# Show a specific version
nuggy package show Newtonsoft.Json --version 13.0.3
# Use a specific feed
nuggy package show Newtonsoft.Json --feed nuget.org
Contributing
⚙️ Development Setup
Prerequisites
- .NET 9.0 SDK (see
global.json
for exact version) - Git
Getting Started
# Clone the repository
git clone https://github.com/YOURORGNAME/nuggy.git
cd nuggy
# Restore dependencies
dotnet restore
# Build the project
dotnet build
# Run the application
dotnet run --project src -- --help
# Run all tests
dotnet test
# Run tests with coverage
dotnet test --collect:"XPlat Code Coverage"
# Run specific test class
dotnet test --filter "ClassName=FeedConfigurationTests"
Product | Versions 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. net10.0 was computed. 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. |
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 |
---|---|---|
1.0.0-preview.20250918040319 | 232 | 9/18/2025 |
1.0.0-preview.20250915010149 | 163 | 9/15/2025 |
1.0.0-preview.20250915000041 | 164 | 9/15/2025 |
1.0.0-preview.20250914235701 | 167 | 9/14/2025 |