# gersemi mit Homebrew, Nix, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gersemi in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gersemi
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:gersemi
- **Paketmanager:** Homebrew
- **Version:** 0.28.0
- **Quellzusammenfassung:** Formatter to make your CMake code the real treasure
- **Homepage:** <https://github.com/BlankSpruce/gersemi>
- **Zuletzt aktualisiert:** 2026-07-22T18:29:47Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- gersemi (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.28.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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

### Quellen

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


## Sicherheitshinweise

Für gersemi wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## 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
## Andere Paketmanager-Einträge

- 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


## Combined YAML source

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


## Quellen

- 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
