Automic VaultAutomic Vault

brew

yaegi を Homebrew, apk, MacPorts, Nix, pacman, apt でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install yaegi

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install yaegi

MacPorts ports tree · devel/yaegi/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add yaegi

Alpine Linux edge package indexes · yaegi · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#yaegi

nixpkgs package indexes · pkgs/by-name/ya/yaegi/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S yaegi

Arch Linux sync databases · yaegi · ソース: geo.mirror.pkgbuild.com

Ubuntu apt確認済み · 92%
sudo apt install yaegi

Ubuntu 24.04 LTS package indexes · yaegi · ソース: archive.ubuntu.com

概要

パッケージ概要

Yet another elegant Go interpreter

コマンドとエイリアス

  • yaegi

履歴

プロジェクトの歴史と使われ方

Yaegi is Traefik Labs' pure-Go interpreter for Go programs. It provides a command-line REPL and script runner, but its deeper package significance is embeddability: Go applications can evaluate Go code at runtime for plugins, scripting, and prototyping without switching to Lua, Python, JavaScript, or a separate DSL.

プロジェクトの歴史

Yaegi was announced in July 2019 by Marc Vertes and the Containous/Traefik team as "Yet Another Go Interpreter", with the E jokingly standing for Elegant, Embedded, Easy, or whatever the reader preferred. The announcement framed it as a way to bring executable Go scripts, embedded plugins, interactive shells, and instant prototyping on top of the Go runtime.

The project's motivation was specific to Go's unusual position: a static, strongly typed compiled language whose parser, type machinery, and reflection facilities are available to Go programs. Yaegi turned that into an interpreter API built around New, Eval, and Use.

The README emphasizes pure Go implementation, standard-library-only design, complete Go specification support, and a safety posture where unsafe and syscall are not exported by default. That made it attractive for embedding in Go applications that need extension points without handing scripts unrestricted process access.

採用の歴史

Yaegi adoption followed two tracks. The visible developer-tool track is the yaegi command, which gives Go users a REPL, executable scripts, and a go-run-like workflow. The infrastructure track is embedding, especially for plugin systems and dynamic extension in Go applications.

Traefik's own ecosystem gave Yaegi a practical showcase: a Go interpreter made by the team behind a cloud-native edge router is naturally suited to runtime extension and plugin workflows. Talks and docs around Yaegi repeatedly mention Traefik Enterprise/plugin motivation alongside the broader goal of filling a missing piece in the Go ecosystem.

Package-manager adoption is modest but broad enough to matter: Yaegi appears in Homebrew, MacPorts, Alpine, Arch, Nix, Ubuntu, and Go package documentation, which makes a Go REPL/installable interpreter available without every user building from source.

使われ方

CLI users run yaegi with no arguments for a REPL, run Go files as interpreted scripts, or use shebang-style executable Go scripts. The README even suggests rlwrap for line editing/history when using the command interactively.

Go developers embed Yaegi by importing the interp package, creating an interpreter, loading stdlib symbols with Use, and evaluating code with Eval. Common scenarios include user-provided automation, policy or routing extensions, prototyping, tests, dynamic plugins, and applications that want Go as their extension language.

パッケージ好きにとっての重要性

Yaegi is package-nerd interesting because it makes Go behave like a scripting language while staying inside the Go toolchain and module ecosystem. Installing yaegi gives a REPL and script runner; depending on the module gives applications a runtime extension engine.

It also occupies a rare niche: most language interpreters package a language runtime, but Yaegi packages an interpreter for a language famous for avoiding runtime dynamism. That tension is exactly why it shows up in package indexes despite being smaller than mainstream language runtimes.

タイムライン

  • 2019-07-27: Traefik/Containous announces Yaegi as an open-source Go interpreter for scripts, embedded plugins, REPL use, and prototyping.
  • 2019: Conference talks present Yaegi as a production-oriented Go interpreter and plugin engine for Traefik-related use cases.
  • 2020-09-16: Yaegi v0.9.0 release assets appear on GitHub, showing the project moving into packaged binary distribution.
  • 2020s: The README documents the stable public API shape around interp.New, Eval, and Use, and the yaegi command becomes packaged across multiple Unix package managers.

Related projects

  • Go is the compiled language and standard library that Yaegi interprets and reuses.
  • Traefik and Traefik Enterprise are related through the team and plugin/extension motivation behind Yaegi.
  • Lua, Python, JavaScript, Starlark, Tengo, and Go plugins are neighboring choices for embedding scriptability or runtime extension in Go applications.
  • rlwrap is commonly paired with the yaegi command for interactive history and line editing.

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:interpreter

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
yaegicliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版0.16.1
マネージャ更新日2026-07-25
ローカルデータOK
上流最新
検出された最新v0.16.1

https://github.com/traefik/yaegi

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:yaegi
バージョン0.16.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/yaegi
ホームページhttps://github.com/traefik/yaegi
リポジトリhttps://github.com/traefik/yaegi
上流ドキュメントhttps://github.com/traefik/yaegi#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/traefik/yaegi/archive/refs/tags/v0.16.1.tar.gz
最終更新2026-07-25T21:32:48+02:00
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

yaegi

nix profile install nixpkgs#yaegi
  • normalized package name match
  • 一致条件: Yaegi
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yaegi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

yaegi 0.15.1-2

Another Elegant Go Interpreter

https://github.com/traefik/yaegi

sudo apt install yaegi
  • Section: universe/golang
  • Architecture: amd64
  • Source Package: golang-github-traefik-yaegi
  • 1 依存関係
  • normalized package name match
  • 一致条件: Yaegi
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yaegi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yaegi 0.16.1-r18

Elegant Go interpreter

https://github.com/traefik/yaegi

sudo apk add yaegi
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: yaegi
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Yaegi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yaegi from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

yaegi 0.16.1-2

Yet another Elegant Go Interpreter

https://github.com/containous/yaegi

sudo pacman -S yaegi
  • License: Apache
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Yaegi
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yaegi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

yaegi

sudo port install yaegi
  • normalized package name match
  • 一致条件: Yaegi
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/yaegi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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