Automic VaultAutomic Vault

brew

使用 Homebrew 安装 xgo

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xgo

local Homebrew formula metadata

概览

软件包摘要

AI-native programming language that integrates software engineering

命令和别名

  • gop
  • xgo

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

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

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.

时间线

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

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gopcli全局可执行文件
xgocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.7.5
管理器更新时间2026-07-22
本地数据OK
上游当前
检测到的最新版本v1.7.5

https://github.com/goplus/xgo

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:xgo
版本1.7.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xgo
主页https://xgo.dev/
仓库https://github.com/goplus/xgo
上游文档https://github.com/goplus/xgo/blob/main/doc/docs.md
许可证Apache-2.0
源码归档https://github.com/goplus/xgo/archive/refs/tags/v1.7.5.tar.gz
最后更新2026-07-22T05:22:15Z
Pulseupdated
依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexgo
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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