macOS
brew install castxmllocal Homebrew formula metadata
sudo port install castxmlMacPorts ports tree · lang/castxml/Portfile · source: api.github.com
brew
C-family Abstract Syntax Tree XML Output. Version 0.7.0 via Homebrew; verified from local package data.
install
brew install castxmllocal Homebrew formula metadata
sudo port install castxmlMacPorts ports tree · lang/castxml/Portfile · source: api.github.com
sudo apt install castxmlDebian stable package indexes · castxml · source: deb.debian.org
sudo dnf install castxmlFedora Rawhide package metadata · castxml · source: dl.fedoraproject.org
nix profile install nixpkgs#castxmlnixpkgs package indexes · pkgs/by-name/ca/castxml/package.nix · source: api.github.com
sudo pacman -S castxmlArch Linux sync databases · castxml · source: geo.mirror.pkgbuild.com
sudo zypper install CastXML-developenSUSE Tumbleweed package metadata · CastXML-devel · source: download.opensuse.org
scoop install main/castxmlScoop official bucket manifest trees · bucket/castxml.json · source: api.github.com
overview
C-family Abstract Syntax Tree XML Output
history
CastXML is a developer tool that parses C-family source files and writes a subset of the abstract syntax tree as XML. The upstream README describes it as maintained by Kitware in support of ITK, the Insight Segmentation and Registration Toolkit.
The project is built around LLVM/Clang: its manual says source files are parsed as complete translation units by an internal Clang compiler. It also includes a --castxml-gccxml mode that emits XML close to GCC-XML, making it important for code-generation and binding workflows that previously expected GCC-XML-style output.
The supplied package facts show CastXML distributed across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE. That breadth matches its niche but durable role as infrastructure for C/C++ introspection workflows rather than an end-user command.
Typical use is command-line AST extraction: pass source files, Clang options, and CastXML options, then request XML output with --castxml-output or GCC-XML-compatible output with --castxml-gccxml. The manual also documents compiler-target matching with --castxml-cc-* options.
CastXML is package-nerd significant because it packages compiler-internal structure as a stable CLI artifact. It lets downstream tools depend on a packaged executable instead of embedding all of Clang's C++ APIs or reviving GCC-XML.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
castxml | cli | global executable |
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.
https://github.com/CastXML/CastXML
install metadata
| Package key | brew:castxml |
|---|---|
| Version | 0.7.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/castxml |
| Homepage | https://github.com/CastXML/CastXML |
| Repository | https://github.com/CastXML/CastXML |
| Upstream docs | https://github.com/CastXML/CastXML#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/CastXML/CastXML/archive/refs/tags/v0.7.0.tar.gz |
| Dependencies | llvm |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | castxml |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
castxml 0.6.11-1
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo apt install castxmlcastxml
nix profile install nixpkgs#castxmlcastxml 0.6.3-1build2
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo apt install castxmlcastxml 0.7.0-1.fc45
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo dnf install castxmlcastxml 0.7.0-2
C-family abstract syntax tree XML output tool
https://github.com/CastXML/CastXML
sudo pacman -S castxmlCastXML-devel 0.7.0-1.4
C-family Abstract Syntax Tree XML Output
https://github.com/CastXML/CastXML
sudo zypper install CastXML-develcastxml
sudo port install castxmlmain/castxml
scoop install main/castxmlsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.