# Install xgo with Homebrew

AI-native programming language that integrates software engineering. Version 1.7.3 via Homebrew; verified 2026-06-21.

## Install

```sh
sudo av install brew:xgo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install xgo
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:xgo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/xgo>
- **Version:** 1.7.3
- **Source summary:** AI-native programming language that integrates software engineering
- **Homepage:** <https://xgo.dev/>
- **Repository:** <https://github.com/goplus/xgo>
- **Upstream docs:** <https://github.com/goplus/xgo/blob/main/doc/docs.md>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/goplus/xgo/archive/refs/tags/v1.7.3.tar.gz>
- **Last updated:** 2026-06-21T18:47:20Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gop (cli)
- xgo (cli)
- gop (alias)
- xgo (alias)

## Dependencies

- go

## 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: 1.7.3
- Package-manager updated: 2026-06-21
- Local data: ok
- Upstream repository: https://github.com/goplus/xgo
- Upstream latest detected: v1.7.3 (current)
## Project history and usage

XGo is the GoPlus project's programming language and toolchain, presented by the project as an AI-native language that reads closer to plain English while remaining derived from Go. The packaged commands are language tooling: `xgo` for the current toolchain and `gop` for GoPlus-compatible workflows.

### Project history

The public repository was created on GitHub on 2015-12-12 under the GoPlus organization. Current project materials describe XGo as a language for engineering, STEM education, and data science, with a smaller best-practice syntax set than Go/Python and compatibility with Go packages and mixed Go/XGo code.

The project has broadened from a Go-derived scripting and education language into an ecosystem pitch: the homepage summarizes it as `XGo := C * Go * Python * JavaScript + Scratch`, while the README describes integration with C/C++, Go, Python, and JavaScript/TypeScript through the Go toolchain and the XGo team's LLGo work.

### Adoption history

XGo is still niche compared with Go itself, but the GitHub project has visible community attention, with roughly 9.4k stars and several hundred forks at the time this enrichment was written. The project also maintains a website, tutorial site, playground, IDE-plugin links, and platform install instructions, which gives it more infrastructure than a one-off experimental compiler.

Adoption is strongest where the language's goals line up with the packaging story: learners, STEM examples, Scratch-compatible 2D projects, simple DevOps scripts through gsh, and experiments that want Go's engineering base with friendlier surface syntax.

### How it is used

Users install the toolchain, create or enter a module, and run XGo source with commands such as `xgo run .`. The README shows XGo simplifying Go expressions by allowing omitted `package main` and `func main`, command-style calls such as `echo "Hello world"`, list/map literals, keyword-style arguments, and classfile-oriented domain frameworks.

The package matters most as a compiler/runtime entry point rather than as a library. It lets package users try XGo examples, run tutorial code, build small scripts, and experiment with related frameworks such as spx for Scratch-like games, yap for web routes, and gsh for shell-like DevOps tasks.

### Why package nerds care

XGo is significant as a packaged language experiment in the post-Go ecosystem. It packages a compiler, syntax experiment, teaching story, and AI-era branding into a Homebrew-installable toolchain while still leaning on Go's module and compiler infrastructure.

For package nerds, the interesting bit is the boundary: XGo is not a Go library and not just a transpiler demo. It is a parallel language surface that tries to stay close enough to Go to inherit tooling while adding domain-friendly syntax and cross-language integration ambitions.

### Timeline

- 2015-12-12: the goplus/xgo GitHub repository is created.
- 2026: the project homepage describes XGo as the first AI-native programming language integrating software engineering into a unified whole.
- 2026: the README presents XGo as a language for engineering, STEM education, and data science, with Go compatibility and LLGo-based C/Python integration goals.

### Related projects

- Go is the base language and ecosystem XGo derives from and interoperates with.
- LLGo is the XGo team's LLVM-based Go compiler path for C, Python, JavaScript, WebAssembly, embedded, and AI/data-science integration.
- TinyGo is listed by the project as another known underlying Go compiler option.
- spx, yap, and gsh are XGo-oriented domain frameworks for Scratch-like games, web programming, and DevOps scripting.

### Sources

- <https://api.github.com/repos/goplus/xgo>
- <https://github.com/goplus/xgo>
- <https://github.com/goplus/xgo/blob/main/doc/docs.md>
- <https://tutorial.xgo.dev/>
- <https://xgo.dev/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Runtime dependency declared by Homebrew.
- [lisette](https://www.automicvault.com/pkg/brew/lisette/) - Shares av.db curated category or tags: cli, compiler, go, language-runtime, programming-language.
- [algol68g](https://www.automicvault.com/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [ats2-postiats](https://www.automicvault.com/pkg/brew/ats2-postiats/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [ballerina](https://www.automicvault.com/pkg/brew/ballerina/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [chapel](https://www.automicvault.com/pkg/brew/chapel/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [coconut](https://www.automicvault.com/pkg/brew/coconut/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [coffeescript](https://www.automicvault.com/pkg/brew/coffeescript/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language.
- [hy](https://www.automicvault.com/pkg/brew/hy/) - Local package facts share a topical domain. Shared terms: cli, compiler, language, language-runtime, programming.

## Combined YAML source

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