macOS
brew install trdsqllocal Homebrew formula metadata
sudo port install trdsqlMacPorts ports tree · textproc/trdsql/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de trdsql pour les workflows d'agents IA.
installation
brew install trdsqllocal Homebrew formula metadata
sudo port install trdsqlMacPorts ports tree · textproc/trdsql/Portfile · Source: api.github.com
nix profile install nixpkgs#trdsqlnixpkgs package indexes · pkgs/by-name/tr/trdsql/package.nix · Source: api.github.com
scoop install main/trdsqlScoop official bucket manifest trees · bucket/trdsql.json · Source: api.github.com
aperçu
CLI tool that can execute SQL queries on CSV, LTSV, JSON, YAML and TBLN
historique
trdsql is a Go command-line tool for executing SQL over tabular text and semi-structured files including CSV, LTSV, JSON, YAML, and TBLN. The official README positions it near tools such as `q` and `textql`, but emphasizes that trdsql can use PostgreSQL or MySQL syntax as well as SQLite.
Noboru Saito developed trdsql as a practical bridge between shell data files and relational query engines. The official documentation explains its internal processing as option and SQL interpretation, importing file names from SQL commands into a database, executing SQL, and exporting the result in a requested output format.
The project evolved from a text-query utility into a broader data conversion and analysis tool. The README documents direct SQL queries, file conversion mode, multiple input formats, multiple output formats, NULL handling, query files, compressed input and output, table-name shortcuts, joins, and selectable SQLite, PostgreSQL, or MySQL engines.
The author's release-history pages show a maturing project. Version 0.13.0, posted November 12, 2023, introduced a shorter `-t` table-name syntax useful for simple format conversion and addressed macOS arm64 binary builds. Version 1.0.0, posted April 8, 2024, was marked stable by the author and followed improvements such as multiple SQL execution added in v0.20.0.
trdsql's adoption comes from the command-line data niche: users who have CSV, JSON, YAML, logs, or mixed tabular files but want real SQL operations without first creating a database schema. The official README documents binary downloads for Linux, Windows, and macOS, Docker usage, Go source builds, Homebrew, MacPorts, and FreeBSD packages.
The batch input records broader package-manager coverage, including Homebrew, MacPorts, Nix, and Scoop. That package spread matches the tool's cross-platform promise: a single CLI for shell users who want SQL-shaped inspection and conversion across operating systems.
In day-to-day use, trdsql runs SQL directly against files, reads from standard input, converts between formats with output flags, handles CSV headers and delimiters, parses JSON with jq expressions, and emits CSV, TSV, JSON, JSON Lines, LTSV, YAML, Markdown, ASCII tables, raw output, and other formats.
Its docs emphasize the tradeoff behind its power: trdsql imports data into an RDBMS before executing SQL, so it is not a streaming one-line-at-a-time filter. In exchange, users get real SQL semantics, joins, aggregation, window functions, configurable database engines, and format conversion in one package.
For package nerds, trdsql sits in the same toolbox as `jq`, `xsv`, `mlr`, `q`, and `textql`, but it occupies the SQL-first corner. It is attractive when a user already thinks in SELECT, JOIN, GROUP BY, and database engine behavior but wants package-manager installation and shell-pipeline ergonomics.
The tool also shows the modern CLI packaging pattern: Go binary releases, Docker image, Homebrew and MacPorts formulas, Scoop availability, FreeBSD package notes, and source builds all coexist in the official installation docs.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour trdsql. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
trdsql | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/noborus/trdsql
métadonnées d'installation
| Clé du paquet | brew:trdsql |
|---|---|
| Version | 1.2.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/trdsql |
| Page d'accueil | https://noborus.github.io/trdsql/ |
| Dépôt | https://github.com/noborus/trdsql |
| Docs amont | https://github.com/noborus/trdsql#readme |
| Licence | MIT |
| Archive source | https://github.com/noborus/trdsql/archive/refs/tags/v1.2.3.tar.gz |
| Dernière mise à jour | 2026-06-15T10:21:22-04:00 |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | trdsql |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
trdsql
nix profile install nixpkgs#trdsqltrdsql
sudo port install trdsqlmain/trdsql
scoop install main/trdsqlpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.