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 6.4.2-r0 (enterprise-packages), captured 2026-11-08 by running swift-package-collection --help (exit 0). permalink

Also provided by 2 other package versions
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.