Automic VaultAutomic Vault

brew

ktlint mit Homebrew, MacPorts, Nix, pacman, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ktlint in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ktlint

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install ktlint

MacPorts ports tree · devel/ktlint/Portfile · Quelle: api.github.com

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#ktlint

nixpkgs package indexes · pkgs/by-name/kt/ktlint/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S ktlint

Arch Linux sync databases · ktlint · Quelle: geo.mirror.pkgbuild.com

Windows

Scoopverifiziert · 92%
scoop install main/ktlint

Scoop official bucket manifest trees · bucket/ktlint.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Anti-bikeshedding Kotlin linter with built-in formatter

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2016: The docs copyright trail begins Stanley Shyiko's authorship period.
  • 2019: Pinterest stewardship appears in the docs copyright trail.
  • 2024-12-04: Tag 1.5.0 was published in the GitHub tag history.
  • 2025-11-14: Release 1.8.0 was published on GitHub.

Related projects

  • Related projects include Kotlin coding conventions, Android Kotlin Style Guide, gofmt, JavaScript Standard Style, ktfmt, Gradle, Maven, and .editorconfig.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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
.editorconfigktlint-baseline.xml

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
ktlintcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-25
Manager-Version1.8.0
Manager aktualisiert2026-07-04
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/ktlint/ktlint

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ktlint
Version1.8.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ktlint
Homepagehttps://ktlint.github.io/
Repositoryhttps://github.com/ktlint/ktlint
Upstream-Dokumentationhttps://pinterest.github.io/ktlint/latest
LizenzMIT
Quellarchivhttps://github.com/ktlint/ktlint/releases/download/1.8.0/ktlint-1.8.0.zip
Zuletzt aktualisiert2026-07-04T16:53:43+09:00
Pulseupdated
Abhängigkeitenopenjdk
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namektlint
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

ktlint

nix profile install nixpkgs#ktlint
  • normalized package name match
  • Abgeglichen nach: Ktlint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kt/ktlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

ktlint 1.8.0-1

An anti-bikeshedding Kotlin linter with built-in formatter

https://ktlint.github.io/

sudo pacman -S ktlint
  • License: MIT
  • Architecture: any
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ktlint
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ktlint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

ktlint

sudo port install ktlint
  • normalized package name match
  • Abgeglichen nach: Ktlint
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ktlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/ktlint

scoop install main/ktlint
  • normalized package name match
  • Abgeglichen nach: Ktlint
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ktlint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment