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

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/llgo>
- **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>
- **Upstream docs:** <https://github.com/goplus/llgo#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/xgo-dev/llgo/archive/refs/tags/v0.12.2.tar.gz>
- **Last updated:** 2026-07-04T16:53:43+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- llgo (cli)
- llgo (alias)

## Dependencies

- bdw-gc
- go@1.25
- libuv
- lld@19
- llvm@19
- openssl@3
- pkgconf

## Uses from macOS

- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.12.2
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://github.com/xgo-dev/llgo
- Upstream latest detected: v0.12.2 (current)
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** llgo
- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [llvm@19](https://www.automicvault.com/pkg/brew/llvm-19/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Runtime dependency declared by Homebrew.
- [flang](https://www.automicvault.com/pkg/brew/flang/) - Shares av.db curated category or tags: cli, compiler, language-runtime, llvm.
- [ldc](https://www.automicvault.com/pkg/brew/ldc/) - Shares av.db curated category or tags: cli, compiler, language-runtime, llvm.
- [lisette](https://www.automicvault.com/pkg/brew/lisette/) - Shares av.db curated category or tags: cli, compiler, go, language-runtime.
- [c3c](https://www.automicvault.com/pkg/brew/c3c/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [cython](https://www.automicvault.com/pkg/brew/cython/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [dmd](https://www.automicvault.com/pkg/brew/dmd/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [ghc](https://www.automicvault.com/pkg/brew/ghc/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [halide](https://www.automicvault.com/pkg/brew/halide/) - Shares av.db curated category or tags: cli, compiler, language-runtime.
- [sagittarius-scheme](https://www.automicvault.com/pkg/brew/sagittarius-scheme/) - Local package facts share a topical domain. Shared terms: bdw, bdw-gc, cli, compiler, language.
- [pyenv](https://www.automicvault.com/pkg/brew/pyenv/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, language, language-runtime, openssl, openssl-3.

## Combined YAML source

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


## Sources

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