macOS
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · source: api.github.com
brew
Anti-bikeshedding Kotlin linter with built-in formatter. Version 1.8.0 via Homebrew; verified 2026-07-04.
install
brew install ktlintlocal Homebrew formula metadata
sudo port install ktlintMacPorts ports tree · devel/ktlint/Portfile · source: api.github.com
nix profile install nixpkgs#ktlintnixpkgs package indexes · pkgs/by-name/kt/ktlint/package.nix · source: api.github.com
sudo pacman -S ktlintArch Linux sync databases · ktlint · source: geo.mirror.pkgbuild.com
scoop install main/ktlintScoop official bucket manifest trees · bucket/ktlint.json · source: api.github.com
overview
Anti-bikeshedding Kotlin linter with built-in formatter
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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
| Command | Kind | Exposure | Note |
|---|---|---|---|
ktlint | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ktlint/ktlint
install metadata
| Package key | brew:ktlint |
|---|---|
| Version | 1.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ktlint |
| Homepage | https://ktlint.github.io/ |
| Repository | https://github.com/ktlint/ktlint |
| Upstream docs | https://pinterest.github.io/ktlint/latest |
| License | MIT |
| Source archive | https://github.com/ktlint/ktlint/releases/download/1.8.0/ktlint-1.8.0.zip |
| Last updated | 2026-07-04T16:53:43+09:00 |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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/ktlintsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.