Automic VaultAutomic Vault

brew

使用 Homebrew, apt, scoop, winget 安装 swift

查看 swift 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install swift

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install python3-swift

Debian stable package indexes · python3-swift · 来源: deb.debian.org

Windows

Scoop已验证 · 92%
scoop install main/swift

Scoop official bucket manifest trees · bucket/swift.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Swift.Toolchain -e

Windows Package Manager source index · Swift.Toolchain · 来源: cdn.winget.microsoft.com

概览

软件包摘要

High-performance system programming language

命令和别名

  • sourcekit-lsp
  • sourcekitd-repl
  • swift
  • swift-api-checker.py
  • swift-api-digester
  • swift-api-dump.py
  • swift-ast-script
  • swift-autolink-extract
  • swift-build
  • swift-build-sdk-interfaces
  • swift-build-tool
  • swift-cache-tool
  • swift-compatibility-symbols
  • swift-def-to-strings-converter
  • swift-demangle
  • swift-driver
  • swift-experimental-sdk
  • swift-frontend
  • swift-help
  • swift-legacy-driver
  • swift-package
  • swift-package-collection
  • swift-package-registry
  • swift-plugin-server
  • swift-reflection-dump
  • swift-run
  • swift-scan-test
  • swift-sdk
  • swift-serialize-diagnostics
  • swift-symbolgraph-extract
  • swift-synthesize-interface
  • swift-test

历史

项目历史与用法

Swift is an open-source, general-purpose programming language and toolchain centered on a compiler, standard library, package manager, debugger, and associated developer tools.

项目历史

Swift.org says Swift was published as open source on December 3, 2015, together with supporting libraries, debugger, and package manager, under the Apache 2.0 license with a Runtime Library Exception. The current swiftlang/swift GitHub repository is the main source repository for the Swift programming language.

采用历史

Swift began with Apple-platform development but Swift.org documents open-source builds for macOS, Linux, and Windows. The site emphasizes Swift as suitable for systems programming, apps, and cloud services, and its documentation page treats the package manager, standard library, core libraries, LLDB, and DocC as parts of the public ecosystem.

使用方式

Package-manager users interact with Swift through the `swift` toolchain: `swift build`, `swift test`, `swift run`, and package manifests named `Package.swift`. Swift.org describes Swift Package Manager as integrated with the build system to download, compile, and link dependencies into products.

为什么软件包爱好者会关心

Swift is important to package nerds because the language distribution includes its own build and package-management story rather than treating dependency resolution as an external add-on. Homebrew, winget, Scoop, and other package managers distribute toolchains or formulae, while SwiftPM defines the package format used by many of the surrounding Swift CLI tools in this batch.

时间线

  • 2015-10: Public swiftlang/swift GitHub repository created.
  • 2015-12-03: Swift language, libraries, debugger, and package manager published as open source on Swift.org.
  • 2019-03-25: Swift 5 released, a major stability milestone documented on Swift.org.
  • Current docs: Swift Package Manager manages distribution and use of Swift packages through `Package.swift` manifests.

Related projects

  • Swift.org documents the Swift compiler, standard library, core libraries, Swift Package Manager, LLDB, SourceKit-LSP, DocC, and the Swift book as related pieces of the ecosystem.

安全态势

风险级别:yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

信号

  • text:programming language,repl
  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
Package.swift

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sourcekit-lspcli全局可执行文件
sourcekitd-replcli全局可执行文件
swiftcli全局可执行文件
swift-api-checker.pycli全局可执行文件
swift-api-digestercli全局可执行文件
swift-api-dump.pycli全局可执行文件
swift-ast-scriptcli全局可执行文件
swift-autolink-extractcli全局可执行文件
swift-buildcli全局可执行文件
swift-build-sdk-interfacescli全局可执行文件
swift-build-toolcli全局可执行文件
swift-cache-toolcli全局可执行文件
swift-compatibility-symbolscli全局可执行文件
swift-def-to-strings-convertercli全局可执行文件
swift-demanglecli全局可执行文件
swift-drivercli全局可执行文件
swift-experimental-sdkcli全局可执行文件
swift-frontendcli全局可执行文件
swift-helpcli全局可执行文件
swift-legacy-drivercli全局可执行文件
swift-packagecli全局可执行文件
swift-package-collectioncli全局可执行文件
swift-package-registrycli全局可执行文件
swift-plugin-servercli全局可执行文件
swift-reflection-dumpcli全局可执行文件
swift-runcli全局可执行文件
swift-scan-testcli全局可执行文件
swift-sdkcli全局可执行文件
swift-serialize-diagnosticscli全局可执行文件
swift-symbolgraph-extractcli全局可执行文件
swift-synthesize-interfacecli全局可执行文件
swift-testcli全局可执行文件
swiftccli全局可执行文件
swiftc-legacy-drivercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本6.3.2
管理器更新时间2026-06-28
本地数据OK
上游当前
检测到的最新版本swift-6.3.2-RELEASE

https://github.com/swiftlang/swift

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:swift
版本6.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/swift
主页https://www.swift.org
仓库https://github.com/swiftlang/swift
上游文档https://docs.swift.org/swift-book/documentation/the-swift-programming-language
许可证Apache-2.0
源码归档https://github.com/swiftlang/swift/archive/refs/tags/swift-6.3.2-RELEASE.tar.gz
最后更新2026-06-28T04:23:36Z
Pulseupdated
依赖python@3.14, zstd
构建依赖cmake, ninja
macOS 提供的库curl, libedit, libxml2, ncurses, sqlite
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项An Xcode toolchain has been installed to: $HOMEBREW_PREFIX/opt/swift/Swift-6.3.xctoolchain This can be symlinked for use within Xcode: ln -s $HOMEBREW_PREFIX/opt/swift/Swift-6.3.xctoolchain ~/Library/Developer/Toolchains/Swift-6.3.xctoolchain

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswift
Version Scheme0
Revision0
Requirements
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

python3-swift 2.35.1-0+deb13u1

distributed virtual object store - Python 3 libraries

https://github.com/openstack/swift

sudo apt install python3-swift
  • Section: python
  • Architecture: all
  • Source Package: swift
  • 15 依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-swift from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift 2.35.1-0+deb13u1

distributed virtual object store - common files

https://github.com/openstack/swift

sudo apt install swift
  • Section: net
  • Architecture: all
  • 4 依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-account 2.35.1-0+deb13u1

distributed virtual object store - account server

https://github.com/openstack/swift

sudo apt install swift-account
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-account from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-container 2.35.1-0+deb13u1

distributed virtual object store - container server

https://github.com/openstack/swift

sudo apt install swift-container
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-container from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-doc 2.35.1-0+deb13u1

distributed virtual object store - documentation

https://github.com/openstack/swift

sudo apt install swift-doc
  • Section: doc
  • Architecture: all
  • Source Package: swift
  • 5 依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-drive-audit 2.35.1-0+deb13u1

distributed virtual object store - drive audit

https://github.com/openstack/swift

sudo apt install swift-drive-audit
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 3 依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-drive-audit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-object 2.35.1-0+deb13u1

distributed virtual object store - object server

https://github.com/openstack/swift

sudo apt install swift-object
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-object from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-object-expirer 2.35.1-0+deb13u1

distributed virtual object store - object-expirer

https://github.com/openstack/swift

sudo apt install swift-object-expirer
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 4 依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-object-expirer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swift-proxy 2.35.1-0+deb13u1

distributed virtual object store - proxy server

https://github.com/openstack/swift

sudo apt install swift-proxy
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 6 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Swift
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swift-proxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-swift 2.33.0-0ubuntu1

distributed virtual object store - Python 3 libraries

https://opendev.org/openstack/swift

sudo apt install python3-swift
  • Section: python
  • Architecture: all
  • Source Package: swift
  • 15 依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-swift from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swift 2.33.0-0ubuntu1

distributed virtual object store - common files

https://opendev.org/openstack/swift

sudo apt install swift
  • Section: net
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swift from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swift-account 2.33.0-0ubuntu1

distributed virtual object store - account server

https://opendev.org/openstack/swift

sudo apt install swift-account
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 3 依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swift-account from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swift-container 2.33.0-0ubuntu1

distributed virtual object store - container server

https://opendev.org/openstack/swift

sudo apt install swift-container
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 4 依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swift-container from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swift-doc 2.33.0-0ubuntu1

distributed virtual object store - documentation

https://opendev.org/openstack/swift

sudo apt install swift-doc
  • Section: doc
  • Architecture: all
  • Source Package: swift
  • 2 依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swift-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swift-object 2.33.0-0ubuntu1

distributed virtual object store - object server

https://opendev.org/openstack/swift

sudo apt install swift-object
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 3 依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swift-object from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

swift-object-expirer 2.33.0-0ubuntu1

distributed virtual object store - object expirer

https://opendev.org/openstack/swift

sudo apt install swift-object-expirer
  • Section: net
  • Architecture: all
  • Source Package: swift
  • 2 依赖
  • normalized package name match
  • 匹配方式:Swift
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swift-object-expirer from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment