pkg.soopen package index

brew / rank 7677

Install trurl with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget

Command-line tool for URL parsing and manipulation. Version 0.16.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install trurl.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install trurl

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install trurl

MacPorts ports tree · net/trurl/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add trurl

Alpine Linux edge package indexes · trurl · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install trurl

Debian stable package indexes · trurl · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install trurl

Fedora Rawhide package metadata · trurl · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#trurl

nixpkgs package indexes · pkgs/by-name/tr/trurl/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S trurl

Arch Linux sync databases · trurl · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install trurl

openSUSE Tumbleweed package metadata · trurl · source: download.opensuse.org

Windows

Windows Package Managerverified · 92%
winget install --id cURL.trurl -e

Windows Package Manager source index · cURL.trurl · source: cdn.winget.microsoft.com

overview

Package summary

Command-line tool for URL parsing and manipulation

Commands and aliases

  • trurl

history

Project history and usage

trurl is a curl-adjacent command-line tool for parsing, normalizing, extracting, and modifying URLs using libcurl's URL parser.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2023-03-31: Daniel Stenberg creates trurl.
  • 2023-04-03: Stenberg publishes the introductory trurl article.
  • 2024-09-12: Stenberg describes trurl as maturing in the 0.15.1 release notes.
  • 2025-05-12: curl.se lists trurl 0.16.1 as the current download.

Related projects

  • curl is the command-line tool trurl is designed to complement.
  • libcurl provides the URL parser used by trurl.
  • wcurl is another small curl.se-listed command-line companion tool.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
trurlexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version0.16.1
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:trurl
Version0.16.1
Package managerHomebrew
Homepagehttps://curl.se/trurl/
Repositoryhttps://github.com/curl/trurl
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

trurl 0.16.1-1

command line tool for URL parsing and manipulation

https://github.com/curl/trurl

sudo apt install trurl
  • Section: utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Trurl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: trurl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

trurl

nix profile install nixpkgs#trurl
  • normalized package name match
  • Matched by: Trurl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/trurl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

trurl 0.9-1build2

command line tool for URL parsing and manipulation

https://github.com/curl/trurl

sudo apt install trurl
  • Section: universe/utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Trurl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: trurl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

trurl 0.16.1-r1

command line tool for URL parsing and manipulation

https://curl.se/trurl/

sudo apk add trurl
  • License: curl
  • Architecture: x86_64
  • Source Package: trurl
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Trurl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: trurl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

trurl-doc 0.16.1-r1

command line tool for URL parsing and manipulation (documentation)

https://curl.se/trurl/

sudo apk add trurl-doc
  • License: curl
  • Architecture: x86_64
  • Source Package: trurl
  • normalized package name match
  • Matched by: Trurl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: trurl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

trurl 0.16.1-6.fc45

Command line tool for URL parsing and manipulation

https://curl.se/trurl

sudo dnf install trurl
  • License: curl
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: trurl
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Trurl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: trurl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

trurl 0.16.1-1

Command line tool for URL parsing and manipulation

https://github.com/curl/trurl

sudo pacman -S trurl
  • License: custom
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Trurl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: trurl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

trurl 0.16.1-4.3

Command line tool for URL parsing and manipulation

https://curl.se/trurl

sudo zypper install trurl
  • License: curl
  • Category: Productivity/Networking/Web/Utilities
  • Architecture: x86_64
  • Source Package: trurl
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Trurl
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: trurl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

trurl-zsh-completion 0.16.1-4.3

Zsh Completion for trurl

https://curl.se/trurl

sudo zypper install trurl-zsh-completion
  • License: curl
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: trurl
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Trurl
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: trurl-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

trurl

sudo port install trurl
  • normalized package name match
  • Matched by: Trurl
MacPorts ports tree · api.github.com · MacPorts ports tree: net/trurl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

cURL.trurl

winget install --id cURL.trurl -e
  • normalized package name match
  • Matched by: Trurl
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: cURL.trurl from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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