pkg.soopen package index

brew / rank 3477

Install detekt with Homebrew, Nix, scoop

Static code analysis for Kotlin. Version 1.23.8 via Homebrew; verified 2026-07-21. Also installable with nix: nix profile install nixpkgs#detekt.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install detekt

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#detekt

nixpkgs package indexes · pkgs/by-name/de/detekt/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/detekt

Scoop official bucket manifest trees · bucket/detekt.json · source: api.github.com

overview

Package summary

Static code analysis for Kotlin

Commands and aliases

  • detekt

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016: GitHub repository created for detekt/detekt.
  • 2018: Release-candidate era visible in official GitHub releases.
  • 2023: detekt 1.23.0 added the experimental detekt compiler plugin and expanded rule coverage.
  • 2025: detekt 1.23.8 shipped as a point release with Kotlin 2.0.21 support.

Related projects

  • The official README names Kotlin, Gradle, ktlint, PMD, Checkstyle, SARIF, SonarQube, Codacy, and third-party detekt plugins as nearby tools and integration surfaces.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
config/detekt/detekt.ymlconfig/detekt/baseline.xml

executables

Installed executables

CommandKindExposureNote
detektexecutableindexed executableDiscovered from the local executable index.

freshness

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

page generated2026-08-03
manager version1.23.8
manager updated2026-07-21
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:detekt
Version1.23.8
Package managerHomebrew
Homepagehttps://detekt.dev
Repositoryhttps://github.com/detekt/detekt
Last updated2026-07-21T19:07:03-04:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

detekt

nix profile install nixpkgs#detekt
  • normalized package name match
  • Matched by: Detekt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/de/detekt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

main/detekt

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation