# gersemi を Homebrew, Nix, winget でインストール

gersemi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gersemi
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:gersemi
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.28.0
- **ソース概要:** Formatter to make your CMake code the real treasure
- **ホームページ:** <https://github.com/BlankSpruce/gersemi>
- **最終更新:** 2026-07-22T18:29:47Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gersemi (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.28.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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

### ソース

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


## セキュリティノート

gersemi に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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
## 他のパッケージマネージャ記録

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


## ソース

- 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
