macOS
brew install xmlstarletlocal Homebrew formula metadata
sudo port install xmlstarletMacPorts ports tree · textproc/xmlstarlet/Portfile · 来源: api.github.com
安装
brew install xmlstarletlocal Homebrew formula metadata
sudo port install xmlstarletMacPorts ports tree · textproc/xmlstarlet/Portfile · 来源: api.github.com
sudo apk add xmlstarletAlpine Linux edge package indexes · xmlstarlet · 来源: dl-cdn.alpinelinux.org
sudo apt install xmlstarletDebian stable package indexes · xmlstarlet · 来源: deb.debian.org
sudo dnf install xmlstarletFedora Rawhide package metadata · xmlstarlet · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xmlstarletnixpkgs package indexes · pkgs/by-name/xm/xmlstarlet/package.nix · 来源: api.github.com
sudo pacman -S xmlstarletArch Linux sync databases · xmlstarlet · 来源: geo.mirror.pkgbuild.com
sudo zypper install xmlstarletopenSUSE Tumbleweed package metadata · xmlstarlet · 来源: download.opensuse.org
choco install xmlstarletChocolatey community package catalog · xmlstarlet · 来源: community.chocolatey.org
scoop install main/xmlstarletScoop official bucket manifest trees · bucket/xmlstarlet.json · 来源: api.github.com
概览
XML command-line utilities
历史
XMLStarlet is the classic Unix-shell XML toolkit: query, transform, validate, edit, format, canonicalize, and inspect XML from a single command-line interface. It was explicitly framed as doing for XML what grep, sed, awk, diff, patch, and related tools do for plain text.
The SourceForge news archive records the first XMLStarlet release in May 2003, describing a C program using GNOME's libxml2 and libxslt to query, check, transform, search, and edit XML documents. The 0.1.0 announcement a few days later stated the project's goal as creating a command-line XML toolkit for shell prompts and automated processing.
Early releases moved quickly through 2003 and 2004, including validation fixes, Relax NG support, Windows availability, HP-UX binaries, and a FreeBSD port. Version 1.0.0 was announced in January 2005, and later distribution files show the 1.6.1 source release in 2014.
The project homepage later noted that development had stalled and asked for help with maintenance, bug fixes, and Windows packaging. That maintenance note is part of the package's history: XMLStarlet became stable infrastructure, with far more downstream script value than upstream churn.
XMLStarlet spread because it matched the way Unix users already handled text: one executable, composable subcommands, stdin/stdout behavior, and concise XPath/XSLT operations. Early SourceForge news called out a FreeBSD port in 2004 and Windows builds, showing that adoption was not limited to one Unix family.
Common uses include XPath extraction with xml sel, in-place-like XML editing with xml ed, XSLT transformation with xml tr, validation against DTD, XSD, or Relax NG with xml val, pretty-printing with xml fo, canonicalization with xml c14n, escaping text, listing element structure, and turning directory listings into XML.
The user guide emphasizes that the select command generates and applies XSLT from command-line templates, which lets shell scripts perform structured XML queries without writing a separate stylesheet.
XMLStarlet is one of the few XML tools that feels native in a pipeline. For package nerds, it is the dependable answer to 'jq, but for XML before jq existed': small enough to install everywhere, powerful enough for metadata rewrites, and old enough to appear in build scripts, distro tooling, and release automation.
安全态势
没有找到 xmlstarlet 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xml | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
xmlstarlet | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xmlstarlet |
|---|---|
| 版本 | 1.6.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://xmlstar.sourceforge.net/ |
| 最后更新 | 2026-07-10T09:59:34-04:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xmlstarlet 1.6.1-4
command line XML toolkit
http://xmlstar.sourceforge.net/
sudo apt install xmlstarletxmlstarlet
nix profile install nixpkgs#xmlstarletxmlstarlet 1.6.1-4
command line XML toolkit
http://xmlstar.sourceforge.net/
sudo apt install xmlstarletxmlstarlet 1.6.1-r2
A set of tools to transform, query, validate, and edit XML documents
https://xmlstar.sourceforge.net/
sudo apk add xmlstarletxmlstarlet-doc 1.6.1-r2
A set of tools to transform, query, validate, and edit XML documents (documentation)
https://xmlstar.sourceforge.net/
sudo apk add xmlstarlet-docxmlstarlet 1.6.1-31.fc45
Command Line XML Toolkit
http://xmlstar.sourceforge.net/
sudo dnf install xmlstarletxmlstarlet 1.6.1-6
A set of tools to transform, query, validate, and edit XML documents
http://xmlstar.sourceforge.net/
sudo pacman -S xmlstarletxmlstarlet 1.6.1-4.3
Command Line Tool to Process XML Documents
https://sourceforge.net/projects/xmlstar/
sudo zypper install xmlstarletxmlstarlet
sudo port install xmlstarletxmlstarlet
choco install xmlstarletmain/xmlstarlet
scoop install main/xmlstarlet来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.