Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix 安装 txr

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install txr

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add txr

Alpine Linux edge package indexes · txr · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#txr

nixpkgs package indexes · pkgs/by-name/tx/txr/package.nix · 来源: api.github.com

概览

软件包摘要

Lisp-like programming language for convenient data munging

命令和别名

  • txr
  • txrlisp
  • txrvm

历史

项目历史与用法

TXR is Kaz Kylheku's programming language and command-line tool for convenient data munging, combining a whole-document pattern language with TXR Lisp.

项目历史

The official homepage says the TXR project started in 2009 and describes it as a pragmatic tool for daily data-munging tasks. Its first identity is the TXR Pattern Language, which matches loosely structured text and binds variables using a template-like syntax; its second identity is TXR Lisp, a full Lisp dialect for data processing and scripting.

Over time TXR grew from a compact extraction language into a large language runtime. The homepage notes a substantial reference manual, an optimizing bytecode compiler, deployable saved executables, low external dependencies, and influences from Common Lisp, Scheme, Awk, shell, Prolog, Ruby, Python, Arc, Clojure, and other languages.

采用历史

TXR remains niche, but its official homepage lists packaging by GNU Guix, NixOS, Chimera Linux, Alpine Linux, Void Linux, EasyBuild, and T2 SDE. The supplied Homebrew record also shows Homebrew, Alpine, and Nix formulas, though the upstream page warns users not to use the Homebrew package.

The homepage also documents a practical user history through accepted TXR-based answers on Stack Overflow and Unix StackExchange. That is a useful signal for a package-nerd niche: TXR spread as a sharp text-processing answer to hard one-off problems more than as a mainstream application platform.

使用方式

TXR is used from the command line for scraping, extracting, transforming, and reporting on arbitrary text. Users can write compact one-liners, pattern files that act like reverse templates, or larger TXR Lisp programs and scripts.

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

TXR matters in package collections because it sits between awk, sed, Perl, and Lisp: a small executable with a large manual, a distinctive pattern language, and enough runtime to solve messy text problems without pulling in a larger language stack.

时间线

  • 2009: Official homepage says the TXR project started.
  • 2025: Official manpage build is dated July 19, 2025.
  • 2026: Official homepage advertises TXR 302 installers and downloads.

Related projects

  • Awk: explicitly compared with TXR's pattern language on the homepage.
  • TXR Lisp: the Lisp dialect bundled with the TXR system.
  • Rosetta Code solutions in TXR: linked from the official homepage as examples.

安全态势

风险级别: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 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
txrcli全局可执行文件
txrlispcli全局可执行文件
txrvmcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本302
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.nongnu.org/txr/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.nongnu.org/txr/none 置信度

安装元数据

软件包元数据

软件包键brew:txr
版本302
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/txr
主页https://www.nongnu.org/txr/
仓库https://www.kylheku.com/cgit/txr
上游文档https://www.nongnu.org/txr
许可证BSD-2-Clause
源码归档https://www.kylheku.com/cgit/txr/snapshot/txr-302.tar.bz2
构建依赖pkgconf
macOS 提供的库libffi, libxcrypt
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

txr

nix profile install nixpkgs#txr
  • normalized package name match
  • 匹配方式:Txr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tx/txr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

txr 302-r2

Programming language for convenient data munging

https://www.nongnu.org/txr/

sudo apk add txr
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: txr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Txr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: txr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

txr-doc 302-r2

Programming language for convenient data munging (documentation)

https://www.nongnu.org/txr/

sudo apk add txr-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: txr
  • normalized package name match
  • 匹配方式:Txr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: txr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

txr-vim 302-r2

Vim syntax for txr

https://www.nongnu.org/txr/

sudo apk add txr-vim
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: txr
  • normalized package name match
  • 匹配方式:Txr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: txr-vim from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment