pkg.soopen package index

brew / rank 4115

Install gersemi with Homebrew, Nix, winget

Formatter to make your CMake code the real treasure. Version 0.28.0 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#gersemi.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gersemi

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#gersemi

nixpkgs package indexes · pkgs/by-name/ge/gersemi/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id BlankSpruce.Gersemi -e

Windows Package Manager source index · BlankSpruce.Gersemi · source: cdn.winget.microsoft.com

overview

Package summary

Formatter to make your CMake code the real treasure

Commands and aliases

  • gersemi

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
.gersemirc

executables

Installed executables

CommandKindExposureNote
gersemiexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.28.0
manager updated2026-07-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gersemi
Version0.28.0
Package managerHomebrew
Homepagehttps://github.com/BlankSpruce/gersemi
Last updated2026-07-22T18:29:47Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gersemi

nix profile install nixpkgs#gersemi
  • normalized package name match
  • Matched by: Gersemi
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ge/gersemi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

BlankSpruce.Gersemi

winget install --id BlankSpruce.Gersemi -e
  • normalized package name match
  • Matched by: Gersemi
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: BlankSpruce.Gersemi from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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