# 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
- **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>
- **Dernière mise à jour:** 2026-08-03T15:54:11Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- prek (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.4.12

## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour prek. Les métadonnées de paquet Nucleus 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
## 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


## 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
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
