# Install llgo with Homebrew

Go compiler based on LLVM integrate with the C ecosystem and Python. Version 0.12.2 via Homebrew; verified 2026-07-26.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install llgo
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:llgo
- **Package manager:** Homebrew
- **Version:** 0.12.2
- **Source summary:** Go compiler based on LLVM integrate with the C ecosystem and Python
- **Homepage:** <https://github.com/xgo-dev/llgo>
- **Repository:** <https://github.com/xgo-dev/llgo>
- **Last updated:** 2026-07-26T13:41:02+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- llgo (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.12.2
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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)


## Sources

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