# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/snakefmt>
- **バージョン:** 2.0.3
- **ソース概要:** Snakemake code formatter
- **ホームページ:** <https://github.com/snakemake/snakefmt/>
- **リポジトリ:** <https://github.com/snakemake/snakefmt>
- **上流ドキュメント:** <https://github.com/snakemake/snakefmt/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/da/9b/c3dce69468a32d9b2dd9366c41c472b59ecafa28971761e8620466fb288f/snakefmt-2.0.3.tar.gz>
- **最終更新:** 2026-06-27T05:29:21Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- snakefmt (cli)
- snakefmt (エイリアス)

## 依存関係

- python@3.14

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.0.3
- マネージャ更新日: 2026-06-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/snakemake/snakefmt
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** snakefmt
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [black](https://pkg.so/ja/brew/black/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [pgformatter](https://pkg.so/ja/brew/pgformatter/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [rubyfmt](https://pkg.so/ja/brew/rubyfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [yapf](https://pkg.so/ja/brew/yapf/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [jsonpp](https://pkg.so/ja/brew/jsonpp/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [sql-formatter](https://pkg.so/ja/brew/sql-formatter/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [gersemi](https://pkg.so/ja/brew/gersemi/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [odinfmt](https://pkg.so/ja/brew/odinfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [autopep8](https://pkg.so/ja/brew/autopep8/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, formatter.

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