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

  証拠: Debian stable package indexes: 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
- **バージョン:** 6.3.3
- **ソース概要:** High-performance system programming language
- **ホームページ:** <https://www.swift.org>
- **リポジトリ:** <https://github.com/swiftlang/swift>
- **最終更新:** 2026-07-13T17:31:48+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sourcekit-lsp (エイリアス)
- sourcekitd-repl (エイリアス)
- swift (エイリアス)
- swift-api-checker.py (エイリアス)
- swift-api-digester (エイリアス)
- swift-api-dump.py (エイリアス)
- 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 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 6.3.3
## プロジェクトの歴史と使われ方

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
## 他のパッケージマネージャ記録

- Debian apt - python3-swift - 2.35.1-0+deb13u2: 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+deb13u2: 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+deb13u2: 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+deb13u2: 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+deb13u2: 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+deb13u2: 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+deb13u2: 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+deb13u2: 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+deb13u2: 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


## Combined YAML source

View the package source record on GitHub. [combined/swift.yml](https://github.com/mxcl/pkgdb/blob/main/combined/swift.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
