# Install swiftly with Homebrew

Swift toolchain installer and manager. Version 1.1.3 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:swiftly
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install swiftly
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:swiftly
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/swiftly>
- **Version:** 1.1.3
- **Source summary:** Swift toolchain installer and manager
- **Homepage:** <https://github.com/swiftlang/swiftly>
- **Repository:** <https://github.com/swiftlang/swiftly>
- **Upstream docs:** <https://www.swift.org/install/macos/swiftly>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/swiftlang/swiftly.git>
- **Last updated:** 2026-06-22T14:06:25-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- swiftly (cli)
- swiftly (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.3
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/swiftlang/swiftly
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2022: GitHub repository created.
- 2025: Swift.org announces swiftly 1.0 as the first stable release.
- 2025: swiftly becomes officially supported as part of the core Swift toolchain.
- 2026: GitHub release metadata shows active 1.1.x maintenance.

### Related projects

- Related projects include Swift Package Manager, swiftenv, Xcode toolchains, Swift.org install infrastructure, and the Swift OpenAPI-based release APIs used by swiftly.

### Sources

- <https://api.github.com/repos/swiftlang/swiftly>
- <https://github.com/swiftlang/swiftly#readme>
- <https://www.swift.org/blog/introducing-swiftly_10/>
- <https://www.swift.org/install/macos/swiftly/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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

- Unix: .swift-version
## Source Database Details

- **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:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [skip](https://www.automicvault.com/pkg/brew/skip/) - Popular package that depends on this formula.
- [proto](https://www.automicvault.com/pkg/brew/proto/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-management, version-manager.
- [zigup](https://www.automicvault.com/pkg/brew/zigup/) - Shares av.db curated category or tags: cli, developer-tools, toolchain, version-management, version-manager.
- [fnm](https://www.automicvault.com/pkg/brew/fnm/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [ghcup](https://www.automicvault.com/pkg/brew/ghcup/) - Shares av.db curated category or tags: cli, developer-tools, installer, toolchain, version-manager.
- [juliaup](https://www.automicvault.com/pkg/brew/juliaup/) - Shares av.db curated category or tags: cli, developer-tools, installer, toolchain, version-manager.
- [rbenv](https://www.automicvault.com/pkg/brew/rbenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [tenv](https://www.automicvault.com/pkg/brew/tenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [tfenv](https://www.automicvault.com/pkg/brew/tfenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.

## Combined YAML source

View the package source record on GitHub. [combined/swiftly.yml](https://github.com/automic-vault/db/blob/main/combined/swiftly.yml)


## Sources

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