kamadorueda/alejandra
The Uncompromising Nix Code Formatter observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 79
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 157
- age_days: 1680
- days_rel: 510
- days_push: 130
- n_releases_24m: 2
Adoption not part of the score
1393 stars · 57 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Alejandra is a fast, opinionated code formatter for the Nix expression language, written in Rust. It enforces a comprehensive style guide derived from Nixpkgs conventions and integrates with common editors and pre-commit workflows.
Use cases
- format nix files automatically
- enforce a consistent nix code style across a team
- format nixpkgs quickly
- add nix formatting to pre-commit hooks
- format nix code in vscode or neovim
When to choose
- you write Nix and want a fast, reliable, opinionated formatter
- you need to format large codebases like Nixpkgs in seconds
- you want editor or pre-commit integration for Nix formatting
When to avoid
- you need a highly configurable formatter with many style options
- you don't work with the Nix language
Facets
cli-tool · maturity stable
formatter cli developer-tools developer-tools programming-languages cross-platform cli nix code-style rust style-guide command-line linux macos
2 sources
- readme: https://github.com/kamadorueda/alejandra · fetched 2026-08-28 · 70e87a61fa87
- homepage: http://kamadorueda.com/alejandra/ · fetched 2026-08-29 · 327adbd69654
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kamadorueda/alejandra | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="kamadorueda/alejandra")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem