# xgo を Homebrew でインストール

xgo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xgo
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:xgo
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/xgo>
- **バージョン:** 1.7.5
- **ソース概要:** AI-native programming language that integrates software engineering
- **ホームページ:** <https://xgo.dev/>
- **リポジトリ:** <https://github.com/goplus/xgo>
- **上流ドキュメント:** <https://xgo.dev/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/goplus/xgo/archive/refs/tags/v1.7.5.tar.gz>
- **最終更新:** 2026-07-22T05:22:15Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gop (cli)
- xgo (cli)
- gop (エイリアス)
- xgo (エイリアス)

## 依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.7.5
- マネージャ更新日: 2026-07-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/goplus/xgo
- 検出された最新: v1.7.5 (最新)
## プロジェクトの歴史と使われ方

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.

### ソース

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


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## ソースデータベース詳細

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


## 関連リンク

- [MCP tool packages](https://pkg.so/ja/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [AI and agent packages](https://pkg.so/ja/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Runtime dependency declared by Homebrew.
- [zot](https://pkg.so/ja/brew/zot/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, go.
- [vibecheck](https://pkg.so/ja/brew/vibecheck/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, go.
- [zero](https://pkg.so/ja/brew/zero/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, go.
- [gemini-cli](https://pkg.so/ja/brew/gemini-cli/) - Shares pkgdb curated category or tags: ai, cli, coding-agents.
- [opencode](https://pkg.so/ja/brew/opencode/) - Shares pkgdb curated category or tags: ai, cli, coding-agents.
- [rtk](https://pkg.so/ja/brew/rtk/) - Shares pkgdb curated category or tags: ai, cli, coding-agents.
- [qwen-code](https://pkg.so/ja/brew/qwen-code/) - Shares pkgdb curated category or tags: ai, cli, coding-agents.
- [pi-coding-agent](https://pkg.so/ja/brew/pi-coding-agent/) - Shares pkgdb curated category or tags: ai, cli, coding-agents.
- [gm-skill](https://pkg.so/ja/npm/gm-skill/) - Local package facts share a topical domain. Shared terms: agents, ai, ai-native, cli, coding.

## Combined YAML source

View the package source record on GitHub. [combined/xgo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xgo.yml)


## ソース

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