macOS
brew install swiftlintlocal Homebrew formula metadata
sudo port install swiftlintMacPorts ports tree · devel/swiftlint/Portfile · ソース: api.github.com
brew / 順位 174
swiftlint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install swiftlintlocal Homebrew formula metadata
sudo port install swiftlintMacPorts ports tree · devel/swiftlint/Portfile · ソース: api.github.com
sudo dnf install swiftlintFedora Rawhide package metadata · swiftlint · ソース: dl.fedoraproject.org
nix profile install nixpkgs#swiftlintnixpkgs package indexes · pkgs/by-name/sw/swiftlint/package.nix · ソース: api.github.com
概要
Tool to enforce Swift style and conventions
履歴
SwiftLint is a Swift style and convention linter originally published by Realm. It became one of the default package-manager-installed tools in Swift projects because it gives teams a shared command-line style gate for local development, Xcode, SwiftPM, Bazel, CocoaPods, Mint, and CI.
The SwiftLint repository was created in May 2015. The README describes the tool as loosely based on the archived GitHub Swift Style Guide and aligned with rules generally accepted by the Swift community.
As Swift tooling matured, SwiftLint moved from simple command-line linting into several build-system surfaces. Its README now documents Swift Package command and build-tool plugins, Xcode package integration, Homebrew, CocoaPods, Mint, Bazel, prebuilt packages, and source builds.
SwiftLint's adoption follows the rise of Swift as a production language: teams needed automated style checks that could run before code review and inside Xcode builds. The official README includes a 2017 video introduction by JP Simard, showing that the project had already become notable in the Swift community by then.
The input package facts show broad packaging beyond Homebrew, including DNF, MacPorts, and Nix. That cross-manager presence is unusual for a Swift-specific CLI and signals sustained use outside one local macOS setup.
Common usage is `swiftlint` in a project directory, usually governed by `.swiftlint.yml`. The README emphasizes that SwiftLint analyzes valid, compilable Swift source, which is why teams often place it after or alongside normal build steps rather than as a substitute compiler.
Modern usage includes SwiftPM plugins and Bazel targets as well as traditional Homebrew-installed binaries called from Xcode script phases.
SwiftLint is package-nerd significant because it packages a moving style rule set as a reproducible CLI. Version pinning matters: rule defaults, SwiftSyntax behavior, and autocorrection can affect source diffs across a whole repository.
It also demonstrates how Swift command-line tools escaped the single-machine Homebrew model and became build plugins, package dependencies, and CI artifacts.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
.swiftlint.yml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
swiftlint | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:swiftlint |
|---|---|
| バージョン | 0.65.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/realm/SwiftLint |
| リポジトリ | https://github.com/realm/SwiftLint |
| 最終更新 | 2026-06-27T09:34:51Z |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
swiftlint
nix profile install nixpkgs#swiftlintswiftlint 0.63.0-2.fc45
Tool to enforce Swift style and conventions
https://realm.github.io/SwiftLint/
sudo dnf install swiftlintswiftlint
sudo port install swiftlintソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.