# swiftlang/swift-package-manager

The Package Manager for the Swift Programming Language

Repository: https://github.com/swiftlang/swift-package-manager
Canonical: https://ross.abutalabs.com/products/swift-package-manager
Language: Swift
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T19:15:44+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 81, longevity 100
- inputs: {"age_days": 3967, "days_push": 7, "days_rel": 131, "gap_med": 0.0, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10210, forks 1517 (observed 2026-08-28T04:10:39.894244+00:00)

## What it is
The official package manager for the Swift programming language, handling dependency resolution, versioning, compilation, and linking of Swift packages. It includes a cross-platform build system for macOS and Linux and integrates with Xcode for Apple platform development.

## Use cases
- manage dependencies for a swift project
- build a swift package from the command line
- share reusable swift code on github
- add third-party libraries to an ios app via xcode
- resolve and version swift package dependencies
- create a command-line tool in swift

## When to choose
- you are developing in Swift and need dependency management
- you want to build Swift packages on macOS or Linux
- you use Xcode 11+ and want integrated package support
- you want the official, first-party Swift tooling

## When to avoid
- you need to manage dependencies for Objective-C-only projects
- you require CocoaPods or Carthage-specific workflows or podspecs
- you are not working with the Swift language

## Facets
- artifact type: cli-tool
- maturity: stable
- function: package-manager, build-tool, cli, developer-tools
- domain: developer-tools, programming-languages, version-control
- platform: cli, cross-platform
- tags: swift, swift-package-manager, dependency-management, build-system, xcode-integration, command-line, macos, linux

## Member repositories
- swiftlang/swift-package-manager (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.894244+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:19:30.852724+00:00, confidence not recorded.
  - readme: https://github.com/swiftlang/swift-package-manager (fetched 2026-08-28T04:10:39.894244+00:00, sha 714e16d16d26)
- Data as of 2026-08-30T08:39:29.467469+00:00.
