# Installer txr avec Homebrew, apk, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de txr pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:txr
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install txr
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add txr
```

  Preuve: Alpine Linux edge package indexes: txr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#txr
```

  Preuve: nixpkgs package indexes: pkgs/by-name/tx/txr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:txr
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/txr>
- **Version:** 302
- **Résumé source:** Lisp-like programming language for convenient data munging
- **Page d'accueil:** <https://www.nongnu.org/txr/>
- **Dépôt:** <https://www.kylheku.com/cgit/txr>
- **Docs amont:** <https://www.nongnu.org/txr>
- **Licence:** BSD-2-Clause
- **Archive source:** <https://www.kylheku.com/cgit/txr/snapshot/txr-302.tar.bz2>
- **Généré:** 2026-07-08T18:08:21+00:00

## exécutables

- txr (cli)
- txrlisp (cli)
- txrvm (cli)
- txr (alias)
- txrlisp (alias)
- txrvm (alias)

## Dépendances de compilation

- pkgconf

## Bibliothèques fournies par macOS

- libffi
- libxcrypt

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 302
- données locales: OK
- dépôt amont: https://www.nongnu.org/txr/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://www.nongnu.org/txr/>
- <https://www.nongnu.org/txr/txr-manpage.html>
- <https://www.nongnu.org/txr/txr-pattern-language.html>
- source_facts.package-manager


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** txr
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Nix - txr: normalized package name match | nixpkgs package indexes: pkgs/by-name/tx/txr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - txr - 302-r2: normalized package name match | Alpine Linux edge package indexes: txr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Programming language for convenient data munging | https://www.nongnu.org/txr/
- apk - txr-doc - 302-r2: normalized package name match | Alpine Linux edge package indexes: txr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Programming language for convenient data munging (documentation) | https://www.nongnu.org/txr/
- apk - txr-vim - 302-r2: normalized package name match | Alpine Linux edge package indexes: txr-vim from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Vim syntax for txr | https://www.nongnu.org/txr/


## Liens liés

- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/fr/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [fennel](https://www.automicvault.com/fr/pkg/brew/fennel/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [hy](https://www.automicvault.com/fr/pkg/brew/hy/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [janet](https://www.automicvault.com/fr/pkg/brew/janet/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [lfe](https://www.automicvault.com/fr/pkg/brew/lfe/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [minimal-racket](https://www.automicvault.com/fr/pkg/brew/minimal-racket/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [newlisp](https://www.automicvault.com/fr/pkg/brew/newlisp/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [nu](https://www.automicvault.com/fr/pkg/brew/nu/) - Shares av.db curated category or tags: cli, language-runtime, lisp, programming-language.
- [agda](https://www.automicvault.com/fr/pkg/brew/agda/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.

## Combined YAML source

View the package source record on GitHub. [combined/txr.yml](https://github.com/automic-vault/db/blob/main/combined/txr.yml)


## Sources

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