# 使用 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
- **版本:** 2.2.0
- **来源摘要:** Concurrent Lisp for the Erlang VM
- **主页:** <https://lfe.io/>
- **仓库:** <https://github.com/lfe/lfe>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

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


## Combined YAML source

View the package source record on GitHub. [combined/lfe.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lfe.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
