Automic VaultAutomic Vault

brew

Install gersemi with Homebrew, Nix, winget

Formatter to make your CMake code the real treasure. Version 0.27.7 via Homebrew; verified 2026-05-28.

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

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

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-07-08
manager version0.27.7
manager updated2026-05-28
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/BlankSpruce/gersemi

install metadata

Package metadata

Package keybrew:gersemi
Version0.27.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gersemi
Homepagehttps://github.com/BlankSpruce/gersemi
Repositoryhttps://github.com/BlankSpruce/gersemi
Upstream docshttps://github.com/BlankSpruce/gersemi#readme
LicenseMPL-2.0
Source archivehttps://files.pythonhosted.org/packages/01/45/93f06bcc8fd631e50875ae70c542de7a46e6a06b9e19f39fb903b61e8ac8/gersemi-0.27.7.tar.gz
Last updated2026-05-28T21:43:39Z
Pulseupdated
Dependencieslibyaml, python@3.14
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegersemi
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment