# swift を Homebrew, apt, scoop, winget でインストール

swift のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install swift
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:swift
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/swift>
- **バージョン:** 6.3.2
- **ソース概要:** High-performance system programming language
- **ホームページ:** <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
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- 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 (エイリアス)
- 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 (エイリアス)
- swiftc (エイリアス)
- swiftc-legacy-driver (エイリアス)

## 依存関係

- python@3.14
- zstd

## ビルド依存関係

- cmake
- ninja

## macOS 提供ライブラリ

- curl
- libedit
- libxml2
- ncurses
- sqlite

## インストール挙動

- 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
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 6.3.2
- マネージャ更新日: 2026-06-28
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/swiftlang/swift
- 検出された最新: swift-6.3.2-RELEASE (最新)
## プロジェクトの歴史と使われ方

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.

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** yellow / 中
- 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:** 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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
