# 使用 Homebrew, apk, apt, dnf, pacman 安装 fennel

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

## 安装

```sh
sudo av install brew:fennel
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fennel
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add fennel
```

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

- Debian apt (92%):

```sh
sudo apt install fennel
```

  证据: Debian stable package indexes: fennel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fennel
```

  证据: Fedora Rawhide package metadata: fennel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S fennel
```

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

## 软件包事实

- **软件包键:** brew:fennel
- **软件包管理器:** Homebrew
- **版本:** 1.6.1
- **来源摘要:** Lua Lisp Language
- **主页:** <https://fennel-lang.org>
- **仓库:** <https://github.com/bakpakin/Fennel>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fennel (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.6.1
## 项目历史与用法

Fennel is a Lisp-family programming language that compiles to Lua. Its project identity is tied to small, embeddable tooling: the README describes it as a one-file library and executable, with full Lua compatibility, compile-time macros, and compiled output that does not require Fennel at runtime.

### 项目历史

The public GitHub repository dates to 2016, while the project's release history records early public releases beginning with 0.1.0 in November 2018. The language developed around the idea that Lua's runtime and embedding story could be paired with Lisp syntax, macros, destructuring, pattern matching, and a stricter approach to accidental globals.

Fennel reached 1.0.0 in December 2021, after several years of 0.x releases. Its changelog shows steady post-1.0 language and tooling work through the 1.4, 1.5, and 1.6 series, including compiler API additions, REPL improvements, macro-related changes, better source-map-aware debugging helpers, and compatibility work across Lua versions.

### 采用历史

Fennel's adoption path has been typical of a niche language with strong package-manager culture: source builds and a self-contained executable first, then distribution through language and OS package channels. Homebrew packages it as `fennel`, and the input package metadata also records packages in apk, Debian, Fedora, and Arch ecosystems.

The project documentation emphasizes a live browser REPL, a page for inspecting generated Lua, IRC and Matrix community channels, a mailing list, and a wiki. That gives Fennel a small but durable language-community footprint rather than the adoption profile of a general-purpose mainstream runtime.

### 使用方式

Users run `fennel` as a compiler, REPL, and scripting tool, or embed the one-file library into Lua-hosted applications. The README highlights that Fennel code can call Lua libraries directly and can be compiled so shipped programs have no runtime dependency on Fennel itself.

Fennel tends to appear where Lua is already attractive: games, editors, small tools, embeddable application scripting, and environments where LuaJIT or stock Lua is already available. Package users care that the command-line tool is easy to install while still producing plain Lua output.

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

For package maintainers, Fennel is interesting because it is both a language implementation and a small CLI artifact. It has minimal runtime expectations compared with larger language stacks, but it still needs careful Lua-version compatibility and documentation around source builds, standalone scripts, and generated Lua.

Its presence across Homebrew and several Linux distributions makes it a representative example of a niche programming language that crossed from source-only usage into normal OS package workflows without becoming a heavyweight runtime.

### 时间线

- 2016: Public GitHub repository created.
- 2018: Fennel 0.1.0 appears in the project release history.
- 2021: Fennel 1.0.0 released.
- 2024: Fennel 1.5.0 adds compiler, REPL, and language improvements.
- 2025: Fennel 1.6.0 continues compiler API and Lua compatibility work.

### Related projects

- Fennel is directly related to Lua and LuaJIT because it compiles to Lua and inherits Lua's runtime ecosystem. It is also related to editor and language-server tooling such as fennel-ls, which exists to make Fennel development more comfortable in LSP-aware editors.

### 来源

- <https://github.com/bakpakin/Fennel>
- <https://github.com/bakpakin/Fennel/blob/main/README.md>
- <https://github.com/bakpakin/Fennel/blob/main/changelog.md>
- <https://api.github.com/repos/bakpakin/Fennel>
- <https://formulae.brew.sh/formula/fennel>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - fennel - 1.5.3+dfsg-2: normalized package name match | Debian stable package indexes: fennel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lisp-based programming language for the Lua runtime | https://fennel-lang.org
- apk - fennel - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language | https://fennel-lang.org
- apk - fennel-doc - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language (documentation) | https://fennel-lang.org
- apk - fennel-lua - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel-lua from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fennel Lua Library | https://fennel-lang.org
- apk - fennel5.1 - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel5.1 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language for Lua 5.1 | https://fennel-lang.org
- apk - fennel5.2 - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel5.2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language for Lua 5.2 | https://fennel-lang.org
- apk - fennel5.3 - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel5.3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language for Lua 5.3 | https://fennel-lang.org
- apk - fennel5.4 - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel5.4 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language for Lua 5.4 | https://fennel-lang.org
- apk - fennel5.5 - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fennel5.5 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language for Lua 5.5 | https://fennel-lang.org
- apk - fenneljit - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: fenneljit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A Lua Lisp Language for Lua jit | https://fennel-lang.org
- dnf - fennel - 1.6.1-5.fc45: normalized package name match | Fedora Rawhide package metadata: fennel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A Lisp that compiles to Lua | https://fennel-lang.org/
- pacman - fennel - 1.6.1-3: normalized package name match | Arch Linux sync databases: fennel from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A Lua Lisp language | https://fennel-lang.org


## Combined YAML source

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


## 来源

- 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
