Command-line tool
snakefmt
brew/snakefmt
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Snakemake code formatter
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install snakefmt
macOS
brew install snakefmt pipx install snakefmt
Linux
brew install snakefmt pipx install snakefmt
Format a specific Snakefile
snakefmt path/to/snakefile
Format all Snakefiles recursively in a specific directory
snakefmt path/to/directory
Format a file using a specific configuration file
snakefmt --config path/to/config.toml path/to/snakefile
Related command-line tools
- snakemake
Pythonic workflow system - gdscript-formatter
A fast code formatter for GDScript in Godot 4. - ktfmt
Kotlin code formatter - dfmt
Formatter for D source code - fnlfmt
Formatter for Fennel code - air
Fast and opinionated formatter for R code r language-server lsp formatter rstats - ormolu
Formatter for Haskell source code - fourmolu
Formatter for Haskell source code
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents