# Install swift with Homebrew, apt, scoop, winget

High-performance system programming language. Version 6.3.2 via Homebrew; verified 2026-06-28.

## Install

```sh
sudo av install brew:swift
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install swift
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python3-swift
```

  Evidence: Debian stable package indexes: python3-swift from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Scoop (92%):

```sh
scoop install main/swift
```

  Evidence: Scoop official bucket manifest trees: bucket/swift.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Swift.Toolchain -e
```

  Evidence: Windows Package Manager source index: Swift.Toolchain from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:swift
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/swift>
- **Version:** 6.3.2
- **Source summary:** High-performance system programming language
- **Homepage:** <https://www.swift.org>
- **Repository:** <https://github.com/swiftlang/swift>
- **Upstream docs:** <https://docs.swift.org/swift-book/documentation/the-swift-programming-language>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/swiftlang/swift/archive/refs/tags/swift-6.3.2-RELEASE.tar.gz>
- **Last updated:** 2026-06-28T04:23:36Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 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)
- sourcekit-lsp (alias)
- sourcekitd-repl (alias)
- swift (alias)
- swift-api-checker.py (alias)
- swift-api-digester (alias)
- swift-api-dump.py (alias)
- swift-ast-script (alias)
- swift-autolink-extract (alias)
- swift-build (alias)
- swift-build-sdk-interfaces (alias)
- swift-build-tool (alias)
- swift-cache-tool (alias)
- swift-compatibility-symbols (alias)
- swift-def-to-strings-converter (alias)
- swift-demangle (alias)
- swift-driver (alias)
- swift-experimental-sdk (alias)
- swift-frontend (alias)
- swift-help (alias)
- swift-legacy-driver (alias)
- swift-package (alias)
- swift-package-collection (alias)
- swift-package-registry (alias)
- swift-plugin-server (alias)
- swift-reflection-dump (alias)
- swift-run (alias)
- swift-scan-test (alias)
- swift-sdk (alias)
- swift-serialize-diagnostics (alias)
- swift-symbolgraph-extract (alias)
- swift-synthesize-interface (alias)
- swift-test (alias)
- swiftc (alias)
- swiftc-legacy-driver (alias)

## Dependencies

- python@3.14
- zstd

## Build dependencies

- cmake
- ninja

## Uses from macOS

- curl
- libedit
- libxml2
- ncurses
- sqlite

## Install behavior

- Post-install hook: not defined
- Caveats: 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
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.3.2
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://github.com/swiftlang/swift
- Upstream latest detected: swift-6.3.2-RELEASE (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

- <https://api.github.com/repos/swiftlang/swift>
- <https://docs.swift.org/swiftpm/documentation/packagemanagerdocs/>
- <https://formulae.brew.sh/api/formula/swift.json>
- <https://www.swift.org/about/>
- <https://www.swift.org/blog/swift-5-released/>
- <https://www.swift.org/documentation/>


## Security Notes

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

- **Geiger risk:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## 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: Package.swift
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** swift
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - python3-swift - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: python3-swift from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - Python 3 libraries | https://github.com/openstack/swift
- Debian apt - swift - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - common files | https://github.com/openstack/swift
- Debian apt - swift-account - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-account from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - account server | https://github.com/openstack/swift
- Debian apt - swift-container - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-container from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - container server | https://github.com/openstack/swift
- Debian apt - swift-doc - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - documentation | https://github.com/openstack/swift
- Debian apt - swift-drive-audit - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-drive-audit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - drive audit | https://github.com/openstack/swift
- Debian apt - swift-object - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-object from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - object server | https://github.com/openstack/swift
- Debian apt - swift-object-expirer - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-object-expirer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - object-expirer | https://github.com/openstack/swift
- Debian apt - swift-proxy - 2.35.1-0+deb13u1: normalized package name match | Debian stable package indexes: swift-proxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | distributed virtual object store - proxy server | https://github.com/openstack/swift
- Ubuntu apt - python3-swift - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-swift from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - Python 3 libraries | https://opendev.org/openstack/swift
- Ubuntu apt - swift - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: swift from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - common files | https://opendev.org/openstack/swift
- Ubuntu apt - swift-account - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: swift-account from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - account server | https://opendev.org/openstack/swift
- Ubuntu apt - swift-container - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: swift-container from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - container server | https://opendev.org/openstack/swift
- Ubuntu apt - swift-doc - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: swift-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - documentation | https://opendev.org/openstack/swift
- Ubuntu apt - swift-object - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: swift-object from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - object server | https://opendev.org/openstack/swift
- Ubuntu apt - swift-object-expirer - 2.33.0-0ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: swift-object-expirer from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | distributed virtual object store - object expirer | https://opendev.org/openstack/swift


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [go](https://www.automicvault.com/pkg/brew/go/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, toolchain.
- [nim](https://www.automicvault.com/pkg/brew/nim/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, systems-programming.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, systems-programming.
- [algol68g](https://www.automicvault.com/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [ats2-postiats](https://www.automicvault.com/pkg/brew/ats2-postiats/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [ballerina](https://www.automicvault.com/pkg/brew/ballerina/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [chapel](https://www.automicvault.com/pkg/brew/chapel/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [coconut](https://www.automicvault.com/pkg/brew/coconut/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [hy](https://www.automicvault.com/pkg/brew/hy/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, language, language-runtime, programming.

## Combined YAML source

View the package source record on GitHub. [combined/swift.yml](https://github.com/automic-vault/db/blob/main/combined/swift.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
- external package-manager database matches
- cross-ecosystem install command graph
