pkg.soopen package index

brew / 排名 10467

使用 Homebrew 安装 tengo

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tengo

local Homebrew formula metadata

概览

软件包摘要

Fast script language for Go

命令和别名

  • tengo

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tengo可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本3.0.0
管理器更新时间2026-07-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tengo
版本3.0.0
软件包管理器Homebrew
主页https://tengolang.com
仓库https://github.com/d5/tengo
最后更新2026-07-26T00:50:34+02:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

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