# Install fnlfmt with Homebrew, apk, Nix, pacman

Formatter for Fennel code. Version 0.3.2 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#fnlfmt.

## Install

```sh
sudo av install brew:fnlfmt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fnlfmt
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add fnlfmt
```

  Evidence: Alpine Linux edge package indexes: fnlfmt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#fnlfmt
```

  Evidence: nixpkgs package indexes: pkgs/by-name/fn/fnlfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S fnlfmt
```

  Evidence: Arch Linux sync databases: fnlfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:fnlfmt
- **Package manager:** Homebrew
- **Version:** 0.3.2
- **Source summary:** Formatter for Fennel code
- **Homepage:** <https://git.sr.ht/~technomancy/fnlfmt>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- fnlfmt (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.3.2
## Project history and usage

fnlfmt is a command-line formatter for Fennel source code. Its official repository describes it as a formatter for Fennel code, and the package metadata exposes a single `fnlfmt` executable.

### Project history

The project is maintained by technomancy on SourceHut and is distributed as a small formatter in the Fennel/Lisp tooling ecosystem. Official package metadata lists LGPL-3.0-or-later licensing and points to the SourceHut repository as the homepage.

### Adoption history

The supplied official package-manager metadata shows fnlfmt packaged by Homebrew, Alpine, Nix, and Arch, indicating adoption beyond its upstream SourceHut repository among Unix-like developer package collections.

### How it is used

fnlfmt is used as a source formatter for Fennel projects, fitting the common package-manager pattern of installing a single CLI and invoking it in editor, lint, or formatting workflows.

### Why package nerds care

For package maintainers, fnlfmt is a compact example of language-specific formatter packaging for a smaller Lisp-family language. It matters less for broad ecosystem reach than for filling the expected formatter slot in Fennel toolchains.

### Timeline

- Current: Official metadata identifies fnlfmt as a Fennel formatter with a SourceHut upstream.
- Current: Package metadata lists Homebrew, Alpine, Nix, and Arch package names.

### Related projects

- Fennel is the language ecosystem fnlfmt serves. Homebrew, Alpine, Nix, and Arch are listed package-manager distribution channels in the supplied metadata.

### Sources

- <https://formulae.brew.sh/api/formula.json>
- <https://formulae.brew.sh/formula/fnlfmt>
- <https://git.sr.ht/~technomancy/fnlfmt>
- <https://git.sr.ht/~technomancy/fnlfmt/tree/main/item/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - fnlfmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/fn/fnlfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - fnlfmt - 0.3.2-r0: normalized package name match | Alpine Linux edge package indexes: fnlfmt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A formatter for Fennel code | https://git.sr.ht/~technomancy/fnlfmt
- apk - fnlfmt-doc - 0.3.2-r0: normalized package name match | Alpine Linux edge package indexes: fnlfmt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A formatter for Fennel code (documentation) | https://git.sr.ht/~technomancy/fnlfmt
- apk - fnlfmt-lua - 0.3.2-r0: normalized package name match | Alpine Linux edge package indexes: fnlfmt-lua from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A formatter for Fennel code | https://git.sr.ht/~technomancy/fnlfmt
- pacman - fnlfmt - 0.3.2-2: normalized package name match | Arch Linux sync databases: fnlfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A formatter for Fennel code | https://git.sr.ht/~technomancy/fnlfmt


## Combined YAML source

View the package source record on GitHub. [combined/fnlfmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fnlfmt.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
