# 使用 Homebrew, apk, Nix, pacman 安装 fnlfmt

查看 fnlfmt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fnlfmt
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add fnlfmt
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:fnlfmt
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fnlfmt>
- **版本:** 0.3.2
- **来源摘要:** Formatter for Fennel code
- **主页:** <https://git.sr.ht/~technomancy/fnlfmt>
- **上游文档:** <https://git.sr.ht/~technomancy/fnlfmt>
- **许可证:** LGPL-3.0-or-later
- **源码归档:** <https://git.sr.ht/~technomancy/fnlfmt/archive/0.3.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fnlfmt (cli)
- fnlfmt (别名)

## 依赖

- lua

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.2
- 本地数据: OK
- 上游仓库: https://git.sr.ht/~technomancy/fnlfmt
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [lua](https://pkg.so/zh-hans/brew/lua/) - Runtime dependency declared by Homebrew.
- [swift-format](https://pkg.so/zh-hans/brew/swift-format/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [dfmt](https://pkg.so/zh-hans/brew/dfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [fprettify](https://pkg.so/zh-hans/brew/fprettify/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [findent](https://pkg.so/zh-hans/brew/findent/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [fourmolu](https://pkg.so/zh-hans/brew/fourmolu/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [scalariform](https://pkg.so/zh-hans/brew/scalariform/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [bcpp](https://pkg.so/zh-hans/brew/bcpp/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [hindent](https://pkg.so/zh-hans/brew/hindent/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, source-code.
- [fennel-ls](https://pkg.so/zh-hans/brew/fennel-ls/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, fennel, lua.
- [highlight](https://pkg.so/zh-hans/brew/highlight/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, lua.

## Combined YAML source

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


## 来源

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