# 使用 Homebrew 安装 llgo

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

## 安装

```sh
sudo av install brew:llgo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install llgo
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:llgo
- **软件包管理器:** Homebrew
- **版本:** 0.12.2
- **来源摘要:** Go compiler based on LLVM integrate with the C ecosystem and Python
- **主页:** <https://github.com/xgo-dev/llgo>
- **仓库:** <https://github.com/xgo-dev/llgo>
- **最后更新:** 2026-07-26T13:41:02+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- llgo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

llgo is an LLVM-based Go compiler from the XGo/GoPlus ecosystem. Its stated purpose is to make Go source code interoperate more directly with the C ABI and with ecosystems such as C/C++, Python, JavaScript, Objective-C, and Swift.

### 项目历史

The public project proposal for llgo was opened in February 2024 in the GoPlus/XGo issue tracker, describing a Go compiler based on LLVM for better integration with the C ecosystem. The repository release history includes v0.1.0 on April 21, 2024.

The README frames LLGo as 'Go * C ecosystem': compatible with Go through source syntax and compatible with C-family ecosystems through ABI linkage. Examples include importing C standard library wrappers and Python libraries.

### 采用历史

llgo is a niche compiler project rather than a mainstream Go distribution. Its adoption story is mainly among XGo/GoPlus users and developers interested in Go-like syntax with lower-friction access to C ABI libraries, Python modules, WebAssembly, embedded development, and data-science tooling.

### 使用方式

The command-line tool is used to build or run LLGo programs, including examples that import C wrappers or Python-facing packages. In Homebrew, the formula gives macOS and Linux users a packaged entry point without cloning and bootstrapping the compiler from source.

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

llgo is interesting because it packages a language experiment at the boundary between Go, LLVM, and foreign-function ecosystems. It is not just another Go tool; it is a compiler-line package that asks whether Go-style code can use LLVM and C ABI linkage as its integration layer.

### 时间线

- 2024-02-13: GoPlus/XGo issue #1734 proposed llgo as an LLVM-based Go compiler.
- 2024-04-21: v0.1.0 appeared in GitHub releases.
- 2026-03-09: v0.13.0 appeared in GitHub releases.

### Related projects

- XGo/GoPlus is the parent ecosystem described by the llgo README.
- LLVM provides the compiler infrastructure foundation.
- The goplus/lib packages provide C, C++, and Python-facing libraries used by llgo examples.

### 来源

- <https://formulae.brew.sh/formula/llgo>
- <https://github.com/goplus/gop/issues/1734>
- <https://github.com/goplus/llgo>
- <https://github.com/xgo-dev/llgo/releases/tag/v0.1.0>
- <https://github.com/xgo-dev/llgo/releases/tag/v0.13.0>


## 安全说明

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/llgo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/llgo.yml)


## 来源

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