macOS
brew install detektlocal Homebrew formula metadata
brew
Static code analysis for Kotlin. Version 1.23.8 via Homebrew; verified 2026-06-15.
install
brew install detektlocal Homebrew formula metadata
nix profile install nixpkgs#detektnixpkgs package indexes · pkgs/by-name/de/detekt/package.nix · source: api.github.com
scoop install main/detektScoop official bucket manifest trees · bucket/detekt.json · source: api.github.com
overview
Static code analysis for Kotlin
history
detekt is a static-analysis and linting tool for Kotlin. Its official README describes code smell analysis, configurable rule sets, baselines for legacy projects, multiple report formats, Gradle integration, and extension points for custom rules and reports.
The detekt GitHub repository was created in October 2016. Early release tags used milestone and release-candidate names, while the modern project documents stable 1.x releases and 2.0.0 alpha documentation on detekt.dev.
detekt grew with Kotlin's move from Android-focused adoption into broader JVM and multiplatform use. Its README highlights Maven Central, the Gradle plugin, third-party plugins, IDE and CI integrations, SARIF output for code scanning, and a marketplace for custom rules.
Package users typically install the CLI jar, Homebrew formula, or Gradle plugin, then point detekt at Kotlin sources with a YAML config and optional baseline XML. In Gradle builds, teams commonly configure reports such as HTML, Checkstyle XML, SARIF, and Markdown.
detekt matters in package-manager culture because it is one of the canonical Kotlin quality gates: language-specific, rule-driven, CI-friendly, and packaged across CLI, Maven Central, Gradle, Homebrew, Scoop, and Nix-style workflows.
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.
config/detekt/detekt.ymlconfig/detekt/baseline.xmlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
detekt | 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/detekt/detekt
install metadata
| Package key | brew:detekt |
|---|---|
| Version | 1.23.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/detekt |
| Homepage | https://detekt.dev |
| Repository | https://github.com/detekt/detekt |
| Upstream docs | https://detekt.dev/ |
| License | Apache-2.0 |
| Source archive | https://github.com/detekt/detekt/releases/download/v1.23.8/detekt-cli-1.23.8-all.jar |
| Last updated | 2026-06-15T10:20:15-04:00 |
| Pulse | updated |
| Dependencies | openjdk@21 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | detekt |
| 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.
detekt
nix profile install nixpkgs#detektmain/detekt
scoop install main/detektsource 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.