# 使用 Homebrew, apk 安装 lfe

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

## 安装

```sh
sudo av install brew:lfe
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lfe
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add lfe
```

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

## 软件包事实

- **软件包键:** brew:lfe
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lfe>
- **版本:** 2.2.0
- **来源摘要:** Concurrent Lisp for the Erlang VM
- **主页:** <https://lfe.io/>
- **仓库:** <https://github.com/lfe/lfe>
- **上游文档:** <https://github.com/lfe/lfe#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/lfe/lfe/archive/refs/tags/v2.2.0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- lfe (cli)
- lfe-first-try (cli)
- lfe-test (cli)
- lfec (cli)
- lfedoc (cli)
- lfeexec (cli)
- lfescript (cli)
- lfe (别名)
- lfe-first-try (别名)
- lfe-test (别名)
- lfec (别名)
- lfedoc (别名)
- lfeexec (别名)
- lfescript (别名)

## 依赖

- erlang

## 构建依赖

- emacs

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.2.0
- 本地数据: OK
- 上游仓库: https://github.com/lfe/lfe
- 检测到的最新版本: v2.2.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

LFE, Lisp Flavoured Erlang, is a Lisp syntax front end for Erlang and the BEAM virtual machine. Its package appeal comes from making Erlang/OTP concurrency, fault-tolerance, and library interoperability available through Lisp forms, macros, and a REPL.

### 项目历史

The LFE project credits Robert Virding with releasing the first version in 2008, after early 2007 experiments with parsing and implementing a Lisp. Virding's stated goals were to explore a Lisp designed for BEAM, to compile through Core Erlang into the Erlang compiler backend, and to keep full interaction with Erlang/OTP.

The version history shows early 0.x releases evolving the language from basic shell/compiler support into a Lisp-2 design, macro system, Core Erlang generation, records, binary syntax, Query List Comprehensions, and match-specification features. The 1.0 and 2.x release lines later made LFE look more like a maintained language runtime package than a one-off experiment.

### 采用历史

The LFE website describes production use beginning in 2015 and frames the language as part of the Erlang community's own Lisp ecosystem. Package-manager adoption is narrower than Erlang itself, but Homebrew and Alpine packaging make it easy for BEAM and Lisp-curious developers to install the language tools without building from a clone.

### 使用方式

Typical package usage is interactive or developer-facing: install the package, run the `lfe` REPL, compile with `lfec`, generate docs with `lfedoc`, or run scripts with `lfescript`. The README emphasizes compatibility with normal Erlang code, so LFE modules can sit beside Erlang modules rather than requiring a separate runtime world.

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

LFE is interesting to package nerds because it is both a language implementation and an Erlang ecosystem bridge: one formula brings in a Lisp REPL, compiler tooling, script runner, and documentation commands for BEAM. It also preserves the long tradition of alternate syntaxes targeting mature VMs.

### 时间线

- 2007: Robert Virding experimented with parsing and implementing a Lisp.
- 2008: The first LFE version was released.
- 2015: The project website describes stable production use beginning in this year.
- 2021: LFE 2.0 was published as a GitHub release.
- 2025: LFE 2.2.0 was published as a GitHub release.

### Related projects

- LFE is directly related to Erlang, Core Erlang, OTP, BEAM, and other Lisp-family languages. In packaging terms it sits near Erlang language tools, alternative BEAM languages, and REPL-oriented development packages.

### 来源

- <https://formulae.brew.sh/formula/lfe>
- <https://github.com/lfe/lfe/releases>
- <https://lfe.io/about/>
- <https://raw.githubusercontent.com/lfe/lfe/develop/README.md>
- <https://raw.githubusercontent.com/lfe/lfe/develop/doc/src/version_history.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:** lfe
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- apk - lfe - 2.2.0-r2: normalized package name match | Alpine Linux edge package indexes: lfe from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lisp Flavoured Erlang | https://lfe.io/
- apk - lfe-doc - 2.2.0-r2: normalized package name match | Alpine Linux edge package indexes: lfe-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lisp Flavoured Erlang (documentation) | https://lfe.io/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [erlang](https://www.automicvault.com/zh-hans/pkg/brew/erlang/) - Runtime dependency declared by Homebrew.
- [emacs](https://www.automicvault.com/zh-hans/pkg/brew/emacs/) - Build dependency declared by Homebrew.
- [elixir](https://www.automicvault.com/zh-hans/pkg/brew/elixir/) - Shares av.db curated category or tags: cli, erlang-vm, language-runtime, programming-language.
- [fennel](https://www.automicvault.com/zh-hans/pkg/brew/fennel/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [hy](https://www.automicvault.com/zh-hans/pkg/brew/hy/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [janet](https://www.automicvault.com/zh-hans/pkg/brew/janet/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [minimal-racket](https://www.automicvault.com/zh-hans/pkg/brew/minimal-racket/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [newlisp](https://www.automicvault.com/zh-hans/pkg/brew/newlisp/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [nu](https://www.automicvault.com/zh-hans/pkg/brew/nu/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [txr](https://www.automicvault.com/zh-hans/pkg/brew/txr/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [gleam](https://www.automicvault.com/zh-hans/pkg/brew/gleam/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, erlang, erlang-vm, language, language-runtime.

## Combined YAML source

View the package source record on GitHub. [combined/lfe.yml](https://github.com/automic-vault/db/blob/main/combined/lfe.yml)


## 来源

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