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

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

## インストール

```sh
sudo av install brew:snakefmt
```

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

### macOS

- Homebrew (100%):

```sh
brew install snakefmt
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#snakefmt
```

  証拠: nixpkgs package indexes: pkgs/by-name/sn/snakefmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:snakefmt
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.0.3
- **ソース概要:** Snakemake code formatter
- **ホームページ:** <https://github.com/snakemake/snakefmt/>
- **リポジトリ:** <https://github.com/snakemake/snakefmt>
- **最終更新:** 2026-06-27T05:29:21Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- snakefmt (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

snakefmt is the Snakemake code formatter, modeled culturally on opinionated formatters such as Black while targeting Snakefiles and Snakemake-specific syntax.

### プロジェクトの歴史

The official GitHub repository was created in February 2020 and v0.1.0 was published in June 2020. The project metadata and README describe it as the uncompromising Snakemake code formatter.

### 採用の歴史

snakefmt is distributed through Homebrew and Nix in the supplied package metadata and supports pre-commit integration from its official README, making it easy to add to package and repository hygiene workflows.

### 使われ方

Users run snakefmt against Snakefiles or directories. By default it searches parent directories for pyproject.toml and reads snakefmt and Black configuration from that file; command-line options override config values.

### パッケージ好きにとっての重要性

snakefmt matters to package and workflow maintainers because it standardizes Snakemake formatting, can run in pre-commit, and reduces noisy diffs in scientific workflow repositories.

### タイムライン

- 2020: Official GitHub repository created.
- 2020: v0.1.0 published on GitHub releases.
- 2026: Project metadata lists snakefmt 2.x and a Python 3.11+ requirement.

### Related projects

- Snakemake
- Black
- shfmt
- pre-commit

### ソース

- <https://api.github.com/repos/snakemake/snakefmt>
- <https://api.github.com/repos/snakemake/snakefmt/releases>
- <https://github.com/snakemake/snakefmt>
- <https://github.com/snakemake/snakefmt/blob/master/pyproject.toml>
- input source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


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

- Nix - snakefmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/snakefmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/snakefmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snakefmt.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
