macOS
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · ソース: api.github.com
brew / 順位 1348
ktlint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · ソース: api.github.com
nix profile install nixpkgs#ktlintnixpkgs package indexes · pkgs/by-name/kt/ktlint/package.nix · ソース: api.github.com
sudo pacman -S ktlintArch Linux sync databases · ktlint · ソース: geo.mirror.pkgbuild.com
scoop install main/ktlintScoop official bucket manifest trees · bucket/ktlint.json · ソース: api.github.com
概要
Anti-bikeshedding Kotlin linter with built-in formatter
履歴
ktlint is an anti-bikeshedding Kotlin linter with a built-in formatter. Its docs describe it as a Kotlin linter in the spirit of JavaScript Standard Style and gofmt: low setup, conventional defaults, and automatic formatting when possible.
The documentation copyright trail records Stanley Shyiko's original 2016-2019 authorship and Pinterest's 2019 stewardship. The repository later moved from the pinterest namespace to the ktlint organization on GitHub, while the Homebrew package still records the historical pinterest/ktlint repository URL.
ktlint gained adoption by combining a CLI jar, Maven/Gradle integrations, reporters, custom rule sets, .editorconfig support, and package-manager distribution. Its docs emphasize no-configuration defaults, Kotlin coding conventions, Android Kotlin Style Guide alignment, and extensibility for organizations that need custom checks.
Users run ktlint to scan .kt and .kts files, optionally with --format or -F to autocorrect violations. Teams commonly add it to build pipelines, pre-commit hooks, editor workflows, or Gradle/Maven tasks, with .editorconfig and baseline files used when defaults need project-level adjustment.
ktlint is significant because it became the Kotlin ecosystem's canonical packaged linter/formatter pair: one executable jar, common default rules, multiple reporters, custom rulesets, and enough integration points to make style enforcement portable across editors, CI, and package managers.
セキュリティ状態
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.
.editorconfigktlint-baseline.xml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ktlint | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:ktlint |
|---|---|
| バージョン | 1.8.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://ktlint.github.io/ |
| リポジトリ | https://github.com/ktlint/ktlint |
| 最終更新 | 2026-07-04T16:53:43+09:00 |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
ktlint
nix profile install nixpkgs#ktlintktlint 1.8.0-1
An anti-bikeshedding Kotlin linter with built-in formatter
sudo pacman -S ktlintktlint
sudo port install ktlintmain/ktlint
scoop install main/ktlintソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.