macOS
brew install swiftlylocal Homebrew formula metadata
安装
brew install swiftlylocal Homebrew formula metadata
概览
Swift toolchain installer and manager
历史
swiftly is the Swift project's official command-line installer and version manager for standalone Swift toolchains. It matters to package-manager culture because it gives Swift a first-party answer to language-version managers such as swiftenv, with project-level `.swift-version` files and support for stable and snapshot toolchains.
The GitHub repository was created in June 2022. The README describes swiftly as a Swift-written CLI for installing, managing, and switching Swift toolchains on Linux and macOS.
Swift.org announced swiftly 1.0 on March 28, 2025 as the first stable release and said the tool had previously existed for years as a community-supported Linux tool. The announcement also credits Patrick Freed for creating swiftly and contributing it to the Swift organization.
The 1.0 announcement marked swiftly's move from community-supported tool to officially supported part of the core Swift toolchain, including hosting under the Swift GitHub organization and adding macOS support.
Swift.org installation pages use swiftly for standalone Swift installation outside Xcode. The documentation covers installing the latest release, installing older releases, using snapshots, and self-updating the tool.
Common usage is `swiftly init`, `swiftly install`, `swiftly use`, `swiftly list-available`, and `swiftly self-update`. A repository can include `.swift-version` so contributors and CI select the same Swift toolchain.
swiftly is aimed at developers who need more than the Swift version bundled with Xcode: Linux services, command-line tools, CI jobs, nightly snapshots, and compatibility testing across older Swift releases.
swiftly is significant because language toolchain installation is usually where system packages, tarballs, shell scripts, and version managers collide. Swift.org moving this into an official CLI reduces the amount of bespoke bootstrap code Swift users need in project setup.
For package maintainers, `.swift-version` turns Swift itself into repository metadata, similar in spirit to `.ruby-version`, `.node-version`, or `rust-toolchain`, while retaining official Swift release and signature infrastructure.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
.swift-version可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
swiftly | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/swiftlang/swiftly
安装元数据
| 软件包键 | brew:swiftly |
|---|---|
| 版本 | 1.1.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/swiftly |
| 主页 | https://github.com/swiftlang/swiftly |
| 仓库 | https://github.com/swiftlang/swiftly |
| 上游文档 | https://www.swift.org/install/macos/swiftly |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/swiftlang/swiftly.git |
| 最后更新 | 2026-06-22T14:06:25-07:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | swiftly |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.