pkg.soopen package index

brew / 排名 7677

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 trurl

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install trurl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install trurl

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

Linux

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

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

Debian apt已验证 · 92%
sudo apt install trurl

Debian stable package indexes · trurl · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install trurl

Fedora Rawhide package metadata · trurl · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S trurl

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

openSUSE zypper已验证 · 92%
sudo zypper install trurl

openSUSE Tumbleweed package metadata · trurl · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id cURL.trurl -e

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

概览

软件包摘要

Command-line tool for URL parsing and manipulation

命令和别名

  • trurl

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
trurl可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.16.1
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:trurl
版本0.16.1
软件包管理器Homebrew
主页https://curl.se/trurl/
仓库https://github.com/curl/trurl
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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