pkg.soopen package index

brew / 排名 3477

使用 Homebrew, Nix, scoop 安装 detekt

查看 detekt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install detekt

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#detekt

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

Windows

Scoop已验证 · 92%
scoop install main/detekt

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

概览

软件包摘要

Static code analysis for Kotlin

命令和别名

  • detekt

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
detekt可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.23.8
管理器更新时间2026-07-21
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:detekt
版本1.23.8
软件包管理器Homebrew
主页https://detekt.dev
仓库https://github.com/detekt/detekt
最后更新2026-07-21T19:07:03-04:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

detekt

nix profile install nixpkgs#detekt
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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