Automic VaultAutomic Vault

brew

Install xidel with Homebrew, chocolatey, Nix, scoop

XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON. Version 0.9.8 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xidel

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#xidel

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

overview

Package summary

XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON

Commands and aliases

  • xidel

history

Project history and usage

Xidel is a command-line extraction and transformation tool for HTML, XML, and JSON. Its niche is combining downloader, scraper, XPath/XQuery interpreter, CSS selector tool, JSONiq/XPath JSON query support, and pattern-matching templates in one small CLI.

Project history

The official homepage dates the initial Xidel release to 2012-09-05 and describes it as the first stand-alone command-line release of the VideLibri backend. Author Benito van der Zander maintains the tool, and the homepage states that the source history lives in a SourceForge Mercurial repository with GitHub and GitLab mirrors.

Xidel's evolution is language-support driven. Version 0.6 added XQuery support in 2012, 0.7 added JSONiq in 2013, 0.8 improved JSONiq and added arbitrary precision arithmetic in 2014, 0.9 expanded XPath/XQuery 3 syntax in 2015, 0.9.4 completed much of XPath/XQuery 3.0 support in 2016, and the 0.9.9 development branch advertises broad XPath/XQuery 3.1 and partial XPath 4.0 syntax support.

Adoption history

Xidel is not a mass-market CLI like curl, but it has a loyal scraper/data-extraction niche because it can handle awkward mixed web data without gluing together several programs. The GitHub mirror metadata shows hundreds of stars, while the homepage documents prebuilt binaries for Windows, Linux, Android, and Mac preview builds, plus a single-binary usage model.

Its adoption path often overlaps with users of `curl`, `wget`, `xmlstarlet`, `jq`, XPath tools, and web scrapers. The difference is that Xidel can fetch, follow, query, pattern-match, transform, serialize, and export shell variables inside one XQuery-capable executable.

How it is used

Typical usage is `xidel URL --extract QUERY`, where the query may be CSS, XPath, XQuery, JSONiq, or an annotated pattern template. The homepage examples include extracting Google result URLs, following links and printing titles, querying JSON APIs, submitting forms, transforming HTML, serializing JSON/XML/HTML, and exporting extracted values as shell variables.

Package users reach for Xidel when a one-liner needs more structure than grep/sed but less ceremony than a custom scraper. It is especially useful for HTML pages with broken markup, API responses that need XPath-like traversal, and data extraction tasks that mix downloading, following links, and transforming output.

Why package nerds care

Xidel is package-nerd significant because it is an unusually dense single-purpose CLI: web fetcher, query language runtime, and data serializer in one package. That makes it a useful example of a tool whose value comes from bundling several web-data primitives behind one stable command.

It also has a distinctive maintenance profile: FreePascal source, Mercurial origin, Git mirrors, SourceForge downloads, and modern package-manager distribution. That mix makes it feel like old-school Unix web tooling that kept absorbing newer query-language standards.

Timeline

  • 2012-09-05: initial Xidel release as a stand-alone command-line tool from the VideLibri backend.
  • 2012-11-06: version 0.6 adds XQuery support.
  • 2013-03-26: version 0.7 adds JSONiq support.
  • 2015-06-28: version 0.9 adds more XPath/XQuery 3.0 syntax, higher-order functions, and multipart form support.
  • 2016-06-08: version 0.9.4 completes much of XPath/XQuery 3.0 support and improves XQuery Test Suite conformance.
  • 2018-04-02: version 0.9.8 improves cookies, module loading, pattern matching, and multipage-template functions.
  • 0.9.9 development: the project advertises XPath/XQuery 3.1 progress and partial XPath 4.0 syntax support.

Related projects

  • VideLibri is the parent application/backend lineage from which Xidel was split as a stand-alone command-line tool.
  • XPath, XQuery, JSONiq, CSS selectors, and the W3C serialization/data-model standards are the query-language ecosystem Xidel packages for command-line use.
  • curl, wget, jq, and xmlstarlet are adjacent command-line tools that overlap with Xidel's web fetching, JSON querying, and XML processing use cases.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:interpreter

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

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
xidelcliglobal executable

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-07-08
manager version0.9.8
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/benibela/xidel

install metadata

Package metadata

Package keybrew:xidel
Version0.9.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xidel
Homepagehttps://www.videlibri.de/xidel.html
Repositoryhttps://github.com/benibela/xidel
Upstream docshttps://github.com/benibela/xidel/wiki
LicenseGPL-3.0-or-later
Source archivehttps://github.com/benibela/xidel/releases/download/Xidel_0.9.8/xidel-0.9.8.src.tar.gz
Last updated2026-06-22T14:06:41-07:00
Pulseupdated
Dependenciesopenssl@4
Build dependenciesfpc
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexidel
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

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

Nix95%

xidel

nix profile install nixpkgs#xidel
  • normalized package name match
  • Matched by: Xidel
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xi/xidel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Chocolatey95%

xidel

choco install xidel
  • normalized package name match
  • Matched by: Xidel
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: xidel from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','inconsolata'
Scoop95%

main/xidel

scoop install main/xidel
  • normalized package name match
  • Matched by: Xidel
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xidel.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

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment