# Installer swift avec Homebrew, apt, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de swift pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install swift
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:swift
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/swift>
- **Version:** 6.3.2
- **Résumé source:** High-performance system programming language
- **Page d'accueil:** <https://www.swift.org>
- **Dépôt:** <https://github.com/swiftlang/swift>
- **Docs amont:** <https://docs.swift.org/swift-book/documentation/the-swift-programming-language>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/swiftlang/swift/archive/refs/tags/swift-6.3.2-RELEASE.tar.gz>
- **Dernière mise à jour:** 2026-06-28T04:23:36Z
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

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

## Dépendances

- python@3.14
- zstd

## Dépendances de compilation

- cmake
- ninja

## Bibliothèques fournies par macOS

- curl
- libedit
- libxml2
- ncurses
- sqlite

## Comportement d'installation

- hook post-installation: non défini
- Précautions: 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
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 6.3.2
- gestionnaire mis à jour: 2026-06-28
- données locales: OK
- dépôt amont: https://github.com/swiftlang/swift
- dernière version détectée: swift-6.3.2-RELEASE (à jour)
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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


## Notes de sécurité

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

- **Risque Geiger:** yellow / moyen
- 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
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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