macOS
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ktlint in AI-Agent-Workflows.
Installation
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · Quelle: api.github.com
nix profile install nixpkgs#ktlintnixpkgs package indexes · pkgs/by-name/kt/ktlint/package.nix · Quelle: api.github.com
sudo pacman -S ktlintArch Linux sync databases · ktlint · Quelle: geo.mirror.pkgbuild.com
scoop install main/ktlintScoop official bucket manifest trees · bucket/ktlint.json · Quelle: api.github.com
Überblick
Anti-bikeshedding Kotlin linter with built-in formatter
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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.xmlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
ktlint | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/ktlint/ktlint
Installationsmetadaten
| Paketschlüssel | brew:ktlint |
|---|---|
| Version | 1.8.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/ktlint |
| Homepage | https://ktlint.github.io/ |
| Repository | https://github.com/ktlint/ktlint |
| Upstream-Dokumentation | https://pinterest.github.io/ktlint/latest |
| Lizenz | MIT |
| Quellarchiv | https://github.com/ktlint/ktlint/releases/download/1.8.0/ktlint-1.8.0.zip |
| Zuletzt aktualisiert | 2026-07-04T16:53:43+09:00 |
| Pulse | updated |
| Abhängigkeiten | openjdk |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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/ktlintQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.