{"repo":"kamadorueda/alejandra","free":true,"listed":false,"github":"https://github.com/kamadorueda/alejandra","clone":"git clone https://github.com/kamadorueda/alejandra.git","description":"The Uncompromising Nix Code Formatter","language":"Nix","stars":1390,"topics":["nix","rust","fmt","formatting","format","styleguide","style-guide","formatter"],"license":"Unlicense","category":"dev-tools","readme_excerpt":"Alejandra 💅 The Uncompromising Nix Code Formatter Try it on your browser! here Features - ✔️ Fast It's written in Rust and formats Nixpkgs in just a few seconds. [^benchmark-specs] - ✔️ Powerful We define a comprehensive style for all possible combinations of the Nix expression language. - ✔️ Reliable High coverage, battle tested. From Nix's eyes, code is just the same. [^semantic-changes] - ✔️ Beautiful Beauty is subjective, right? We started from the original style of Nixpkgs, and then we applied the feedback of developers who have used Nix at scale for several years, producing a very well-grounded style guide . For everything else, some pieces of the style are configurable. - ✔️ Transparent You won't notice the formatter after a while. Humans care about the content, machines about the style! - ✔️ Native We integrate with common code editors and workflows: - Visual Studio Code - Neovim - Vim - GNU Emacs - Doom Emacs - Pre-commit - Pre-commit-hooks.nix Getting started On the web editor Please visit: kamadorueda.github.io/alejandra. Prebuilt binaries You can download a binary for your platform: - aarch64-unknown-linux-musl - x86 64-unknown-linux-musl Make it executable ( $ chmod +x ) and run Alejandra with: or: From Nixpkgs Please visit: search.nixos.org/packages?query=alejandra. Nix installation - Nix stable: - Nix with Flakes: Then run Alejandra with: NixOS installation - Nix stable: - Nix with Flakes: From Homebrew (experimental) Configuration Options You can configure Al","default_branch":null,"files":null,"tree":[],"storefront":"/r/kamadorueda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kamadorueda/alejandra/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}