Automic VaultAutomic Vault

brew

Installer swift-format avec Homebrew

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install swift-format

local Homebrew formula metadata

aperçu

Résumé du paquet

Formatting technology for Swift source code

Commandes et alias

  • swift-format

historique

Historique du projet et usages

swift-format is the Swift project's formatter and linting technology for Swift source code. It is distributed as a command-line tool and as a Swift Package Manager dependency, making it part of both day-to-day CLI workflows and editor/build-tool integrations.

Historique du projet

In February 2019, a Swift Forums pitch proposed that the Swift project adopt an official style guide and provide a formatting tool. The proposal described work on a swift-format tool and framed formatting as a way to reduce project-by-project style churn in the Swift ecosystem.

Historique d'adoption

The official repository now describes swift-format as providing formatting technology for SourceKit-LSP and building blocks for code-formatting transformations. It also notes that the package can be used either as a command-line tool or linked into other applications through Swift Package Manager.

Modes d'utilisation

CLI users run swift-format to check, lint, or rewrite Swift files, with project settings stored in a .swift-format file. Version matching matters: the README documents how Swift 5.8 and later changed swift-format's dependency relationship with SwiftSyntax after the parser was rewritten in Swift.

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

swift-format matters to package nerds because it sits at the intersection of language tooling, source formatting policy, and compiler-parser versioning. Packaging it is not just about shipping an executable; maintainers also need to track SwiftSyntax and Swift toolchain compatibility so formatter behavior matches the language users are writing.

Chronologie

  • 2019: Swift Forums pitch proposes an official Swift style guide and formatter.
  • 2019: Swift Evolution discussion of SE-0250 documents .swift-format configuration lookup behavior.
  • Swift 5.8 era: README documents the SwiftSyntax parser rewrite and new version-numbering alignment.
  • Current: Repository describes swift-format as used by SourceKit-LSP and usable as both CLI and package dependency.

Related projects

  • SwiftSyntax provides syntax-tree infrastructure used by swift-format.
  • SourceKit-LSP uses swift-format formatting technology.
  • Swift Package Manager is a distribution and embedding route for the formatter.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
.swift-format

exécutables

Exécutables installés

CommandeTypeExpositionNote
swift-formatcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire603.0.0
gestionnaire mis à jour2026-07-01
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/swiftlang/swift-format

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:swift-format
Version603.0.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/swift-format
Page d'accueilhttps://github.com/swiftlang/swift-format
Dépôthttps://github.com/swiftlang/swift-format
Docs amonthttps://github.com/swiftlang/swift-format#readme
LicenceApache-2.0
Archive sourcehttps://github.com/swiftlang/swift-format.git
Dernière mise à jour2026-07-01T13:43:35Z
Pulseupdated
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswift-format
Version Scheme1
Revision0
Head VersionHEAD
Requirements
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

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