<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/SystemPackageProvider/brew(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription06SystemA8ProviderO4brewyACSaySSGFZ"
  },
  "title" : "brew(_:)"
}
-->

# brew(_:)

Creates a system package provider with a list of installable packages
for people who use the HomeBrew package manager on macOS.

```
static func brew(_ 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)