macOS
brew install swiftlocal Homebrew formula metadata
安装
brew install swiftlocal Homebrew formula metadata
sudo apt install python3-swiftDebian stable package indexes · python3-swift · 来源: deb.debian.org
scoop install main/swiftScoop official bucket manifest trees · bucket/swift.json · 来源: api.github.com
winget install --id Swift.Toolchain -eWindows Package Manager source index · Swift.Toolchain · 来源: cdn.winget.microsoft.com
概览
High-performance system programming language
历史
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.
安全态势
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
Package.swift可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sourcekit-lsp | cli | 全局可执行文件 | |
sourcekitd-repl | cli | 全局可执行文件 | |
swift | cli | 全局可执行文件 | |
swift-api-checker.py | cli | 全局可执行文件 | |
swift-api-digester | cli | 全局可执行文件 | |
swift-api-dump.py | cli | 全局可执行文件 | |
swift-ast-script | cli | 全局可执行文件 | |
swift-autolink-extract | cli | 全局可执行文件 | |
swift-build | cli | 全局可执行文件 | |
swift-build-sdk-interfaces | cli | 全局可执行文件 | |
swift-build-tool | cli | 全局可执行文件 | |
swift-cache-tool | cli | 全局可执行文件 | |
swift-compatibility-symbols | cli | 全局可执行文件 | |
swift-def-to-strings-converter | cli | 全局可执行文件 | |
swift-demangle | cli | 全局可执行文件 | |
swift-driver | cli | 全局可执行文件 | |
swift-experimental-sdk | cli | 全局可执行文件 | |
swift-frontend | cli | 全局可执行文件 | |
swift-help | cli | 全局可执行文件 | |
swift-legacy-driver | cli | 全局可执行文件 | |
swift-package | cli | 全局可执行文件 | |
swift-package-collection | cli | 全局可执行文件 | |
swift-package-registry | cli | 全局可执行文件 | |
swift-plugin-server | cli | 全局可执行文件 | |
swift-reflection-dump | cli | 全局可执行文件 | |
swift-run | cli | 全局可执行文件 | |
swift-scan-test | cli | 全局可执行文件 | |
swift-sdk | cli | 全局可执行文件 | |
swift-serialize-diagnostics | cli | 全局可执行文件 | |
swift-symbolgraph-extract | cli | 全局可执行文件 | |
swift-synthesize-interface | cli | 全局可执行文件 | |
swift-test | cli | 全局可执行文件 | |
swiftc | cli | 全局可执行文件 | |
swiftc-legacy-driver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/swiftlang/swift
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | swift |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
python3-swift 2.35.1-0+deb13u1
distributed virtual object store - Python 3 libraries
https://github.com/openstack/swift
sudo apt install python3-swiftswift 2.35.1-0+deb13u1
distributed virtual object store - common files
https://github.com/openstack/swift
sudo apt install swiftswift-account 2.35.1-0+deb13u1
distributed virtual object store - account server
https://github.com/openstack/swift
sudo apt install swift-accountswift-container 2.35.1-0+deb13u1
distributed virtual object store - container server
https://github.com/openstack/swift
sudo apt install swift-containerswift-doc 2.35.1-0+deb13u1
distributed virtual object store - documentation
https://github.com/openstack/swift
sudo apt install swift-docswift-drive-audit 2.35.1-0+deb13u1
distributed virtual object store - drive audit
https://github.com/openstack/swift
sudo apt install swift-drive-auditswift-object 2.35.1-0+deb13u1
distributed virtual object store - object server
https://github.com/openstack/swift
sudo apt install swift-objectswift-object-expirer 2.35.1-0+deb13u1
distributed virtual object store - object-expirer
https://github.com/openstack/swift
sudo apt install swift-object-expirerswift-proxy 2.35.1-0+deb13u1
distributed virtual object store - proxy server
https://github.com/openstack/swift
sudo apt install swift-proxypython3-swift 2.33.0-0ubuntu1
distributed virtual object store - Python 3 libraries
https://opendev.org/openstack/swift
sudo apt install python3-swiftswift 2.33.0-0ubuntu1
distributed virtual object store - common files
https://opendev.org/openstack/swift
sudo apt install swiftswift-account 2.33.0-0ubuntu1
distributed virtual object store - account server
https://opendev.org/openstack/swift
sudo apt install swift-accountswift-container 2.33.0-0ubuntu1
distributed virtual object store - container server
https://opendev.org/openstack/swift
sudo apt install swift-containerswift-doc 2.33.0-0ubuntu1
distributed virtual object store - documentation
https://opendev.org/openstack/swift
sudo apt install swift-docswift-object 2.33.0-0ubuntu1
distributed virtual object store - object server
https://opendev.org/openstack/swift
sudo apt install swift-objectswift-object-expirer 2.33.0-0ubuntu1
distributed virtual object store - object expirer
https://opendev.org/openstack/swift
sudo apt install swift-object-expirer来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.