macOS
brew install trurllocal Homebrew formula metadata
sudo port install trurlMacPorts ports tree · net/trurl/Portfile · Quelle: api.github.com
brew / Rang 7677
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für trurl in AI-Agent-Workflows.
Installation
brew install trurllocal Homebrew formula metadata
sudo port install trurlMacPorts ports tree · net/trurl/Portfile · Quelle: api.github.com
sudo apk add trurlAlpine Linux edge package indexes · trurl · Quelle: dl-cdn.alpinelinux.org
sudo apt install trurlDebian stable package indexes · trurl · Quelle: deb.debian.org
sudo dnf install trurlFedora Rawhide package metadata · trurl · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#trurlnixpkgs package indexes · pkgs/by-name/tr/trurl/package.nix · Quelle: api.github.com
sudo pacman -S trurlArch Linux sync databases · trurl · Quelle: geo.mirror.pkgbuild.com
sudo zypper install trurlopenSUSE Tumbleweed package metadata · trurl · Quelle: download.opensuse.org
winget install --id cURL.trurl -eWindows Package Manager source index · cURL.trurl · Quelle: cdn.winget.microsoft.com
Überblick
Command-line tool for URL parsing and manipulation
Verlauf
trurl is a curl-adjacent command-line tool for parsing, normalizing, extracting, and modifying URLs using libcurl's URL parser.
Daniel Stenberg introduced trurl in April 2023 as a small command-line tool in the spirit of Unix 'tr', but for URLs. He wrote that it was created on March 31, 2023 to help shell script authors avoid repeatedly inventing unsafe or inconsistent URL parsing.
The curl project page positions trurl as a companion to curl: it uses libcurl's URL parser, so it understands URLs the same way curl does. That makes it especially useful in scripts that already rely on curl and need to manipulate URLs before passing them to other tools.
The GitHub repository stayed intentionally compact: C source, tests, a man page, release notes, and compatibility notes around libcurl versions. Releases on curl.se and GitHub turned it from a fresh helper into a packaged utility available through Homebrew and multiple Unix distributions.
trurl was adopted in the curl ecosystem because URLs are deceptively hard to parse correctly in shell. Instead of sed, awk, cut, or hand-rolled regular expressions, users can ask trurl for structured URL parts, normalized URLs, redirects, query edits, or JSON output.
Its package-manager spread is unusually broad for a young utility: the input package facts list Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, and openSUSE-style packages, matching its role as a small Unix command that distribution maintainers can ship easily.
trurl can change hosts, schemes, ports, paths, query strings, and fragments; append path or query components; trim tracking parameters; sort query pairs; handle redirects; read URLs from files or stdin; and emit JSON for scripts.
For package nerds, the appeal is that trurl is a purpose-built URL transformer that composes cleanly with curl, xargs, shell pipelines, package build scripts, and CI jobs without pulling in a heavier language runtime.
trurl is significant because it packages a common but error-prone scripting task into a tiny, curl-family binary. It is the sort of tool that shows up in dotfiles, release scripts, URL cleanup jobs, and packaging automation once people stop trusting ad hoc regex parsing.
Its libcurl dependency also matters: package maintainers can reason about its URL behavior in terms of the same parser used by curl, while its compatibility table documents which libcurl versions enable which features.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
trurl | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:trurl |
|---|---|
| Version | 0.16.1 |
| Paketmanager | Homebrew |
| Homepage | https://curl.se/trurl/ |
| Repository | https://github.com/curl/trurl |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
trurl 0.16.1-1
command line tool for URL parsing and manipulation
sudo apt install trurltrurl
nix profile install nixpkgs#trurltrurl 0.9-1build2
command line tool for URL parsing and manipulation
sudo apt install trurltrurl 0.16.1-r1
command line tool for URL parsing and manipulation
sudo apk add trurltrurl-doc 0.16.1-r1
command line tool for URL parsing and manipulation (documentation)
sudo apk add trurl-doctrurl 0.16.1-6.fc45
Command line tool for URL parsing and manipulation
sudo dnf install trurltrurl 0.16.1-1
Command line tool for URL parsing and manipulation
sudo pacman -S trurltrurl 0.16.1-4.3
Command line tool for URL parsing and manipulation
sudo zypper install trurltrurl-zsh-completion 0.16.1-4.3
Zsh Completion for trurl
sudo zypper install trurl-zsh-completiontrurl
sudo port install trurlcURL.trurl
winget install --id cURL.trurl -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.