pkg.soopen package index

brew / rank 547

Install xmlstarlet with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

XML command-line utilities. Version 1.6.1 via Homebrew; verified 2026-07-10. Also installable with debian: sudo apt install xmlstarlet.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xmlstarlet

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xmlstarlet

MacPorts ports tree · textproc/xmlstarlet/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xmlstarlet

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

Debian aptverified · 92%
sudo apt install xmlstarlet

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

Fedora dnfverified · 92%
sudo dnf install xmlstarlet

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

Nixverified · 92%
nix profile install nixpkgs#xmlstarlet

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

Arch Linux pacmanverified · 92%
sudo pacman -S xmlstarlet

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

openSUSE zypperverified · 92%
sudo zypper install xmlstarlet

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

Windows

Chocolateyverified · 92%
choco install xmlstarlet

Chocolatey community package catalog · xmlstarlet · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/xmlstarlet

Scoop official bucket manifest trees · bucket/xmlstarlet.json · source: api.github.com

overview

Package summary

XML command-line utilities

Commands and aliases

  • xml
  • xmlstarlet

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2003-05-07: SourceForge announced the first XMLStarlet release and project site updates.
  • 2003-05-11: XMLStarlet 0.1.0 was released with the command-line XML toolkit goal.
  • 2004-07-01: The project announced that the FreeBSD port was ready.
  • 2005-01-29: XMLStarlet 1.0.0 was released.
  • 2014-08-09: SourceForge files list xmlstarlet-1.6.1 as the latest source release.

Related projects

  • Related projects and technologies include libxml2, libxslt, xsltproc, xmllint, XPath, XSLT, EXSLT, Relax NG, XML canonicalization, DocBook, and shell text tools such as grep, sed, awk, diff, and patch.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for xmlstarlet. Nucleus package metadata is still published here so future coverage has a stable package URL.

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
xmlexecutableindexed executableDiscovered from the local executable index.
xmlstarletexecutableindexed 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 version1.6.1
manager updated2026-07-10
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:xmlstarlet
Version1.6.1
Package managerHomebrew
Homepagehttps://xmlstar.sourceforge.net/
Last updated2026-07-10T09:59:34-04:00
Pulseupdated
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%

xmlstarlet 1.6.1-4

command line XML toolkit

http://xmlstar.sourceforge.net/

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

xmlstarlet

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

xmlstarlet 1.6.1-4

command line XML toolkit

http://xmlstar.sourceforge.net/

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

xmlstarlet 1.6.1-r2

A set of tools to transform, query, validate, and edit XML documents

https://xmlstar.sourceforge.net/

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

xmlstarlet-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-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xmlstarlet
  • normalized package name match
  • Matched by: Xmlstarlet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xmlstarlet-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xmlstarlet 1.6.1-31.fc45

Command Line XML Toolkit

http://xmlstar.sourceforge.net/

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

xmlstarlet 1.6.1-6

A set of tools to transform, query, validate, and edit XML documents

http://xmlstar.sourceforge.net/

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

xmlstarlet 1.6.1-4.3

Command Line Tool to Process XML Documents

https://sourceforge.net/projects/xmlstar/

sudo zypper install xmlstarlet
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xmlstarlet
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xmlstarlet
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xmlstarlet from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

xmlstarlet

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

xmlstarlet

choco install xmlstarlet
  • normalized package name match
  • Matched by: Xmlstarlet
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: xmlstarlet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'
Scoop95%

main/xmlstarlet

scoop install main/xmlstarlet
  • normalized package name match
  • Matched by: Xmlstarlet
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xmlstarlet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

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

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