# tengo を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:tengo
```

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

### macOS

- Homebrew (100%):

```sh
brew install tengo
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:tengo
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.0.0
- **ソース概要:** Fast script language for Go
- **ホームページ:** <https://tengolang.com>
- **リポジトリ:** <https://github.com/d5/tengo>
- **最終更新:** 2026-07-26T00:50:34+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tengo (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.0.0
## プロジェクトの歴史と使われ方

Tengo is a small, dynamic scripting language for Go, implemented as bytecode executed on a stack-based virtual machine. The project positions it as fast, secure, embeddable, extensible, and usable either through Go APIs or as a standalone CLI and REPL.

### プロジェクトの歴史

The GitHub repository was created in January 2019 and the first listed GitHub release, v0.9.1, followed later that month. The project grew around the need for a lightweight scripting layer that Go programs could embed without cgo or external runtime dependencies.

### 採用の歴史

Tengo's adoption is mostly in the Go ecosystem: the README demonstrates embedding scripts through `github.com/d5/tengo/v2`, points to Go package documentation, and links language docs for syntax, object types, runtime types, interoperability, CLI use, and the standard library. Homebrew packaging adds a package-manager path for users who want the `tengo` executable.

### 使われ方

Developers use Tengo to evaluate expressions, run user-provided scripts with controlled inputs, or ship rule engines, state machines, data pipelines, and transpiler workflows inside Go applications. The CLI also exposes Tengo as a standalone language for scripting and REPL-style use.

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

Tengo matters to package nerds because it is both a library and a command-line language runtime: it packages a tiny VM, standard library, CLI, and docs as a Go-native tool. Its benchmark table compares it with embedded Lua, JavaScript, Starlark, Python, Yaegi, and other interpreters, which is exactly the sort of tradeoff package curators track when choosing embeddable runtimes.

### タイムライン

- 2019-01-09: GitHub repository created.
- 2019-01-30: v0.9.1 release published.
- 2022-09-26: v2.13.0 release published.
- 2024-02-29: v2.17.0 release published.
- 2025-05-24: v3.0.0 release published.

### Related projects

- The README compares Tengo benchmark results with go-lua, GopherLua, goja, starlark-go, gpython, Yaegi, otto, and Anko, and links related projects such as go-fsm and tengo2lua.

### ソース

- <https://api.github.com/repos/d5/tengo>
- <https://api.github.com/repos/d5/tengo/releases>
- <https://github.com/d5/tengo#readme>
- <https://tengolang.com>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## ソース

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