macOS
brew install gersemilocal Homebrew formula metadata
brew
Formatter to make your CMake code the real treasure. Version 0.27.7 via Homebrew; verified 2026-05-28.
install
brew install gersemilocal Homebrew formula metadata
nix profile install nixpkgs#gerseminixpkgs package indexes · pkgs/by-name/ge/gersemi/package.nix · source: api.github.com
winget install --id BlankSpruce.Gersemi -eWindows Package Manager source index · BlankSpruce.Gersemi · source: cdn.winget.microsoft.com
overview
Formatter to make your CMake code the real treasure
history
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.
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.
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.
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.
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.
security posture
No matching local secret-handling manifest was found for gersemi. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
.gersemircexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gersemi | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/BlankSpruce/gersemi
install metadata
| Package key | brew:gersemi |
|---|---|
| Version | 0.27.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gersemi |
| Homepage | https://github.com/BlankSpruce/gersemi |
| Repository | https://github.com/BlankSpruce/gersemi |
| Upstream docs | https://github.com/BlankSpruce/gersemi#readme |
| License | MPL-2.0 |
| Source archive | https://files.pythonhosted.org/packages/01/45/93f06bcc8fd631e50875ae70c542de7a46e6a06b9e19f39fb903b61e8ac8/gersemi-0.27.7.tar.gz |
| Last updated | 2026-05-28T21:43:39Z |
| Pulse | updated |
| Dependencies | libyaml, python@3.14 |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gersemi
nix profile install nixpkgs#gersemiBlankSpruce.Gersemi
winget install --id BlankSpruce.Gersemi -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.