# Installer xmlstarlet avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de xmlstarlet pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:xmlstarlet
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install xmlstarlet
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xmlstarlet
```

  Preuve: MacPorts ports tree: textproc/xmlstarlet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xmlstarlet
```

  Preuve: Alpine Linux edge package indexes: xmlstarlet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xmlstarlet
```

  Preuve: Debian stable package indexes: xmlstarlet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install xmlstarlet
```

  Preuve: Fedora Rawhide package metadata: xmlstarlet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#xmlstarlet
```

  Preuve: nixpkgs package indexes: pkgs/by-name/xm/xmlstarlet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S xmlstarlet
```

  Preuve: Arch Linux sync databases: xmlstarlet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install xmlstarlet
```

  Preuve: openSUSE Tumbleweed package metadata: xmlstarlet from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install xmlstarlet
```

  Preuve: Chocolatey community package catalog: xmlstarlet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'

- Scoop (92%):

```sh
scoop install main/xmlstarlet
```

  Preuve: Scoop official bucket manifest trees: bucket/xmlstarlet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:xmlstarlet
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/xmlstarlet>
- **Version:** 1.6.1
- **Résumé source:** XML command-line utilities
- **Page d'accueil:** <https://xmlstar.sourceforge.net/>
- **Docs amont:** <https://xmlstar.sourceforge.net/>
- **Licence:** MIT
- **Archive source:** <https://downloads.sourceforge.net/project/xmlstar/xmlstarlet/1.6.1/xmlstarlet-1.6.1.tar.gz>
- **Dernière mise à jour:** 2026-07-10T09:59:34-04:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- xml (cli)
- xmlstarlet (cli)
- xml (alias)
- xmlstarlet (alias)

## Bibliothèques fournies par macOS

- libxml2
- libxslt

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.6.1
- gestionnaire mis à jour: 2026-07-10
- données locales: OK
- dépôt amont: https://xmlstar.sourceforge.net/
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://sourceforge.net/p/xmlstar/news/>
- <https://sourceforge.net/projects/xmlstar/files/>
- <https://xmlstar.sourceforge.net/>
- <https://xmlstar.sourceforge.net/doc/UG/ch01.html>
- <https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour xmlstarlet. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.


## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xmlstarlet
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - xmlstarlet - 1.6.1-4: normalized package name match | Debian stable package indexes: xmlstarlet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line XML toolkit | http://xmlstar.sourceforge.net/
- Nix - xmlstarlet: normalized package name match | nixpkgs package indexes: pkgs/by-name/xm/xmlstarlet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xmlstarlet - 1.6.1-4: normalized package name match | Ubuntu 24.04 LTS package indexes: xmlstarlet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line XML toolkit | http://xmlstar.sourceforge.net/
- apk - xmlstarlet - 1.6.1-r2: normalized package name match | Alpine Linux edge package indexes: xmlstarlet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A set of tools to transform, query, validate, and edit XML documents | https://xmlstar.sourceforge.net/
- apk - xmlstarlet-doc - 1.6.1-r2: normalized package name match | Alpine Linux edge package indexes: xmlstarlet-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A set of tools to transform, query, validate, and edit XML documents (documentation) | https://xmlstar.sourceforge.net/
- dnf - xmlstarlet - 1.6.1-31.fc45: normalized package name match | Fedora Rawhide package metadata: xmlstarlet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Command Line XML Toolkit | http://xmlstar.sourceforge.net/
- pacman - xmlstarlet - 1.6.1-6: normalized package name match | Arch Linux sync databases: xmlstarlet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A set of tools to transform, query, validate, and edit XML documents | http://xmlstar.sourceforge.net/
- zypper - xmlstarlet - 1.6.1-4.3: normalized package name match | openSUSE Tumbleweed package metadata: xmlstarlet from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command Line Tool to Process XML Documents | https://sourceforge.net/projects/xmlstar/
- MacPorts - xmlstarlet: normalized package name match | MacPorts ports tree: textproc/xmlstarlet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - xmlstarlet: normalized package name match | Chocolatey community package catalog: xmlstarlet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'
- Scoop - main/xmlstarlet: normalized package name match | Scoop official bucket manifest trees: bucket/xmlstarlet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/fr/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [xerces-c](https://pkg.so/fr/brew/xerces-c/) - Shares pkgdb curated category or tags: cli, data, validation, xml.
- [basex](https://pkg.so/fr/brew/basex/) - Shares pkgdb curated category or tags: cli, data, xml, xpath.
- [xidel](https://pkg.so/fr/brew/xidel/) - Shares pkgdb curated category or tags: cli, data, xpath.
- [bagit](https://pkg.so/fr/brew/bagit/) - Shares pkgdb curated category or tags: cli, data, validation.
- [dbxml](https://pkg.so/fr/brew/dbxml/) - Shares pkgdb curated category or tags: cli, data, xml.
- [sqlite](https://pkg.so/fr/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/fr/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [bzip2](https://pkg.so/fr/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data.
- [xslt3](https://pkg.so/fr/npm/xslt3/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, line, xml, xpath.

## Combined YAML source

View the package source record on GitHub. [combined/xmlstarlet.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xmlstarlet.yml)


## Sources

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
