# Installer prek avec Homebrew, MacPorts, Nix, zypper, scoop, winget

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

## installation

```sh
sudo av install brew:prek
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install prek
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install prek
```

  Preuve: MacPorts ports tree: devel/prek/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#prek
```

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

- zypper (92%):

```sh
sudo zypper install prek
```

  Preuve: openSUSE Tumbleweed package metadata: prek from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/prek
```

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

- winget (92%):

```sh
winget install --id j178.Prek -e
```

  Preuve: Windows Package Manager source index: j178.Prek from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:prek
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/prek>
- **Version:** 0.4.12
- **Résumé source:** Fast Git hook manager written in Rust, drop-in alternative to pre-commit
- **Page d'accueil:** <https://prek.j178.dev/>
- **Dépôt:** <https://github.com/j178/prek>
- **Docs amont:** <https://prek.j178.dev/>
- **Licence:** MIT
- **Archive source:** <https://github.com/j178/prek/archive/refs/tags/v0.4.12.tar.gz>
- **Dernière mise à jour:** 2026-08-03T15:54:11Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- prek (cli)
- prek (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.4.12
- gestionnaire mis à jour: 2026-08-03
- données locales: OK
- dépôt amont: https://github.com/j178/prek
- dernière version détectée: v0.4.12 (à jour)

## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour prek. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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: prek.toml, .pre-commit-config.yaml, .pre-commit-config.yml, $XDG_CONFIG_HOME/prek/prek.toml, ~/.config/prek/prek.toml
- Windows: %APPDATA%\prek\prek.toml
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** prek
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - prek: normalized package name match | nixpkgs package indexes: pkgs/by-name/pr/prek/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - prek - 0.4.11-1.1: normalized package name match | openSUSE Tumbleweed package metadata: prek from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Reimagined version of pre-commit, built in Rust | https://github.com/j178/prek
- zypper - prek-bash-completion - 0.4.11-1.1: normalized package name match | openSUSE Tumbleweed package metadata: prek-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for prek | https://github.com/j178/prek
- zypper - prek-fish-completion - 0.4.11-1.1: normalized package name match | openSUSE Tumbleweed package metadata: prek-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for prek | https://github.com/j178/prek
- zypper - prek-zsh-completion - 0.4.11-1.1: normalized package name match | openSUSE Tumbleweed package metadata: prek-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for prek | https://github.com/j178/prek
- MacPorts - prek: normalized package name match | MacPorts ports tree: devel/prek/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/prek: normalized package name match | Scoop official bucket manifest trees: bucket/prek.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - j178.Prek: normalized package name match | Windows Package Manager source index: j178.Prek from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [codelimit](https://pkg.so/fr/brew/codelimit/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, pre-commit.
- [precious](https://pkg.so/fr/brew/precious/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [jscpd](https://pkg.so/fr/brew/jscpd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [pre-commit](https://pkg.so/fr/brew/pre-commit/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, git-hooks.
- [typos-cli](https://pkg.so/fr/brew/typos-cli/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, rust.
- [air](https://pkg.so/fr/brew/air/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, rust.
- [php-code-sniffer](https://pkg.so/fr/brew/php-code-sniffer/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools.
- [hk](https://pkg.so/fr/brew/hk/) - Shares pkgdb curated category or tags: cli, developer-tools, git-hooks, pre-commit.
- [node-git-hooks](https://pkg.so/fr/npm/node-git-hooks/) - Local package facts share a topical domain. Shared terms: cli, commit, developer, developer-tools, git.

## Combined YAML source

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


## Sources

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