OS Manuals

/usr/bin/swift-package-collection

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory-safe by default.

From swift-bootstrap-6-0-1 6.0.1-r6 (enterprise-packages), captured 2026-11-08 by running swift-package-collection --help (exit 0). permalink

OVERVIEW: Interact with package collections

SEE ALSO: swift build, swift package, swift run, swift test

USAGE: swift package-collection <subcommand>

OPTIONS:
  --version               Show the version.
  -h, -help, --help       Show help information.

SUBCOMMANDS:
  add                     Add a new collection
  describe                Get metadata for a collection or a package included
                          in an imported collection
  list                    List configured collections
  refresh                 Refresh configured collections
  remove                  Remove a configured collection
  search                  Search for packages by keywords or module names

  See 'swift help package-collection <subcommand>' for detailed help.
Options (2)
OptionDescriptionSource
--versionShow the version.help
-h, -help, --helpShow help information.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.