<!--
{
  "availability" : [
    "SwiftPM: 999.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/SystemPackageProvider/nuget(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription06SystemA8ProviderO5nugetyACSaySSGFZ"
  },
  "title" : "nuget(_:)"
}
-->

# nuget(_:)

Creates a system package provider with a list of installable packages
for users of the NuGet package manager on Linux or Windows.

```
static func nuget(_ packages: [String]) -> SystemPackageProvider
```

## Parameters

`packages`

The list of package names.

## Return Value

A package provider.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)