# Installer detekt avec Homebrew, Nix, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de detekt pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:detekt
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install detekt
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#detekt
```

  Preuve: nixpkgs package indexes: pkgs/by-name/de/detekt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/detekt
```

  Preuve: Scoop official bucket manifest trees: bucket/detekt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:detekt
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.23.8
- **Résumé source:** Static code analysis for Kotlin
- **Page d'accueil:** <https://detekt.dev>
- **Dépôt:** <https://github.com/detekt/detekt>
- **Dernière mise à jour:** 2026-07-21T19:07:03-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- detekt (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.23.8
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/detekt/detekt>
- <https://github.com/detekt/detekt/blob/main/README.md>
- <https://detekt.dev/changelog>
- <https://api.github.com/repos/detekt/detekt>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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

- Unix: config/detekt/detekt.yml, config/detekt/baseline.xml
## Autres enregistrements de gestionnaires de paquets

- Nix - detekt: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/detekt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/detekt: normalized package name match | Scoop official bucket manifest trees: bucket/detekt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/detekt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/detekt.yml)


## Sources

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