# Installer gersemi avec Homebrew, Nix, winget

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

## installation

```sh
sudo av install brew:gersemi
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gersemi
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gersemi
```

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

### Windows

- winget (92%):

```sh
winget install --id BlankSpruce.Gersemi -e
```

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

## Faits du paquet

- **Clé du paquet:** brew:gersemi
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/gersemi>
- **Version:** 0.28.0
- **Résumé source:** Formatter to make your CMake code the real treasure
- **Page d'accueil:** <https://github.com/BlankSpruce/gersemi>
- **Dépôt:** <https://github.com/BlankSpruce/gersemi>
- **Licence:** MPL-2.0
- **Archive source:** <https://files.pythonhosted.org/packages/96/3d/babcff7d305561ebe96124298dbb7e3acaaa21f04a6490a8f0987130233e/gersemi-0.28.0.tar.gz>
- **Dernière mise à jour:** 2026-07-22T18:29:47Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gersemi (cli)
- gersemi (alias)

## Dépendances

- libyaml
- python@3.14

## 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.28.0
- gestionnaire mis à jour: 2026-07-22
- données locales: OK
- dépôt amont: https://github.com/BlankSpruce/gersemi
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

gersemi is a Python-based formatter for CMake source files. It targets CMakeLists.txt, CMakeLists.txt.in, .cmake, and .cmake.in files, and aims to provide a low-configuration formatting style for build-system code.

### Historique du projet

The gersemi repository was opened in 2020. Its README describes a formatter that can be installed from PyPI, run as a command-line tool, configured with `.gersemirc`, and integrated into pre-commit through a dedicated hook repository.

### Historique d'adoption

gersemi fills a practical niche for projects that already enforce code style but also want deterministic formatting for CMake files. Package availability through Homebrew, Nix, and Windows package metadata reflects use beyond direct PyPI installs.

### Modes d'utilisation

Practitioners run gersemi in check, in-place, or diff mode across files or directories. The tool discovers common CMake file names, reads formatting configuration from `.gersemirc` or command-line flags, supports custom command definitions and extensions, and can be used in pre-commit hooks.

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

For package-manager users, gersemi is useful because it brings Black-like formatting habits to CMake projects through a single CLI. It is especially handy in CI and pre-commit setups where reproducible formatting matters more than editor-specific integrations.

### Chronologie

- 2020: The gersemi repository was opened on GitHub.
- 2020s: The README documents PyPI installation, CLI modes, `.gersemirc`, pre-commit integration, extensions, cache support, and ignore-file handling.

### Related projects

- CMake, pre-commit, PyPI, gersemi-pre-commit

### Sources

- <https://api.github.com/repos/BlankSpruce/gersemi>
- <https://github.com/BlankSpruce/gersemi>
- <https://github.com/BlankSpruce/gersemi-pre-commit>
- <https://raw.githubusercontent.com/BlankSpruce/gersemi/master/README.md>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour gersemi. 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: .gersemirc
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- Nix - gersemi: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/gersemi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - BlankSpruce.Gersemi: normalized package name match | Windows Package Manager source index: BlankSpruce.Gersemi 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.
- [python@3.14](https://pkg.so/fr/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [black](https://pkg.so/fr/brew/black/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, pre-commit.
- [isort](https://pkg.so/fr/brew/isort/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, pre-commit, python.
- [yapf](https://pkg.so/fr/brew/yapf/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [snakefmt](https://pkg.so/fr/brew/snakefmt/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [mdformat](https://pkg.so/fr/brew/mdformat/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, pre-commit, python.
- [djhtml](https://pkg.so/fr/brew/djhtml/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, pre-commit, python.
- [swiftformat](https://pkg.so/fr/brew/swiftformat/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter.
- [stylua](https://pkg.so/fr/brew/stylua/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter.

## Combined YAML source

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


## Sources

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