NuGet

NuGet command-line interface for .NET package management.


Using NuGet CLI Locally

Ensure the Desktop App is installed, running, and configured for NuGet.

Connect Desktop App →

Simply use your standard commands - the Desktop App handles authentication automatically:

Upload:

nuget push <package>.nupkg -Source Fly

Download:

nuget restore

Alternatively: Manual Configuration

1. Generate an Access Token

Create an access token →

2. Configure

Add JFrog Fly as a NuGet source:

nuget sources add -Name Fly \
  -Source https://<your-fly-subdomain>.jfrog.io/artifactory/api/nuget/nuget \
  -Username <your-fly-username> \
  -Password <your-fly-token>

3. Upload

nuget push <package>.nupkg -Source Fly

4. Download

nuget restore

Using NuGet CLI in CI/CD

NuGet CLI is fully supported in GitHub Actions workflows configured with JFrog Fly.

Learn how to configure GitHub Actions →


Alternative: dotnet → | Back to .NET →