macOS
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · ソース: api.github.com
brew
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 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/ktlint/ktlint
インストールメタデータ
| パッケージキー | brew:ktlint |
|---|---|
| バージョン | 1.8.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ktlint |
| ホームページ | https://ktlint.github.io/ |
| リポジトリ | https://github.com/ktlint/ktlint |
| 上流ドキュメント | https://pinterest.github.io/ktlint/latest |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/ktlint/ktlint/releases/download/1.8.0/ktlint-1.8.0.zip |
| 最終更新 | 2026-07-04T16:53:43+09:00 |
| Pulse | updated |
| 依存関係 | openjdk |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ktlint |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの 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.