# 使用 Homebrew 安装 gluon

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

## 安装

```sh
sudo av install brew:gluon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gluon
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gluon
- **软件包管理器:** Homebrew
- **版本:** 0.18.3
- **来源摘要:** Static, type inferred and embeddable language written in Rust
- **主页:** <https://gluon-lang.org>
- **仓库:** <https://github.com/gluon-lang/gluon>
- **最后更新:** 2026-07-08T21:40:22Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gluon (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Gluon is a small, statically typed, type-inferred functional language written in Rust and designed for embedding in applications. Package users mainly encounter it through its command-line REPL and through Rust crates that embed the language runtime.

### 项目历史

The public `gluon-lang/gluon` repository was created in 2015, during the early expansion of Rust-based language experiments. The README presents the project's central design goal: combine static typing, type inference, Unicode support, garbage-collected execution, and simple Rust interoperation for application scripting.

The project evolved as both a language implementation and an embeddable Rust library. Its documentation includes a book, Rust API documentation, standard-library documentation, examples, an online try page, release downloads, and Cargo installation of the `gluon_repl` crate.

### 采用历史

Gluon's adoption belongs to the embeddable-language niche rather than mainstream application deployment. Repository metadata shows several thousand stars, and the project is packaged by Homebrew, but its practical audience is Rust developers evaluating a statically typed scripting layer with lower embedding boilerplate than writing an entire domain language from scratch.

Its package-manager presence gives experimenters a quick way to run programs and the REPL, while the Rust crates make the language more relevant as a library than as a standalone general-purpose language.

### 使用方式

Practitioners use Gluon to run scripts, open an interactive REPL with the `-i` flag, or embed the VM in Rust applications. The README emphasizes direct passing of Rust-defined functions into Gluon, separate heaps per executing thread, thread-safe execution guarantees from Rust, and parser-combinator examples in the standard library.

Common exploratory uses include application scripting, typed configuration-like logic, language experimentation, and teaching examples that benefit from ML-style syntax, type inference, and Rust-hosted embedding.

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

Gluon is notable for package users because it represents a specific Rust ecosystem idea: embed a typed functional language rather than a dynamic scripting language. Installing the package exposes the REPL, while the deeper value remains in the crates and documentation for host-application integration.

### 时间线

- 2015: Public GitHub repository created.
- 2016: The `gluon-lang` GitHub organization was created after the repository's initial public life.
- Later development: Documentation expanded into a book, Rust API docs, standard-library docs, and an online try page.

### Related projects

- Rust is the implementation language and host ecosystem for Gluon embedding.
- `gluon_repl` provides the command-line REPL path documented by the project.
- The online try_gluon project provides browser-based experimentation.

### 来源

- <https://api.github.com/repos/gluon-lang/gluon>
- <https://github.com/gluon-lang/gluon>
- <https://gluon-lang.org/doc/crates_io/book/index.html>
- <https://raw.githubusercontent.com/gluon-lang/gluon/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

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