macOS
brew install libxolocal Homebrew formula metadata
sudo port install libxoMacPorts ports tree · devel/libxo/Portfile · source: api.github.com
brew
Allows an application to generate text, XML, JSON, and HTML output. Version 1.7.5 via Homebrew; verified from local package data.
install
brew install libxolocal Homebrew formula metadata
sudo port install libxoMacPorts ports tree · devel/libxo/Portfile · source: api.github.com
sudo apk add libxoAlpine Linux edge package indexes · libxo · source: dl-cdn.alpinelinux.org
sudo dnf install libxoFedora Rawhide package metadata · libxo · source: dl.fedoraproject.org
nix profile install nixpkgs#libxonixpkgs package indexes · pkgs/by-name/li/libxo/package.nix · source: api.github.com
overview
Allows an application to generate text, XML, JSON, and HTML output
history
libxo is a C library from Juniper for emitting traditional text, XML, JSON, and HTML from one set of output calls. It is best known in package culture through FreeBSD's structured-output work.
The project README explains the central idea: applications call xo_emit with field descriptors, and the selected output style is chosen at runtime. GitHub tag metadata places the 0.1.0 tag at a commit dated 2014-07-30.
The FreeBSD manual page records Phil Shafer as author and says the library was added in FreeBSD 11.0. That adoption moved libxo from a standalone library into the base-system conversation about machine-readable command output.
FreeBSD's adoption gave libxo a practical audience: base utilities could keep human-readable output while adding JSON, XML, or HTML modes for scripts and automation. The package is also available outside FreeBSD for projects that want the same structured-output model.
Users generally encounter libxo through commands that accept a libxo output mode or through the xo utility family. Developers use the library when they want one formatting path to serve terminal text and structured data consumers.
libxo matters because it is a concrete answer to the long-running Unix problem of parsing human text with fragile awk and sed pipelines. It represents the package-manager-adjacent push toward structured CLI output without abandoning traditional command output.
security posture
library-like 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 |
|---|---|---|---|
libxo-config | cli | global executable | |
xo | cli | global executable | |
xohtml | cli | global executable | |
xolint | cli | global executable | |
xopo | 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/Juniper/libxo
install metadata
| Package key | brew:libxo |
|---|---|
| Version | 1.7.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libxo |
| Homepage | https://juniper.github.io/libxo/libxo-manual.html |
| Repository | https://github.com/Juniper/libxo |
| Upstream docs | https://juniper.github.io/libxo/libxo-manual.html |
| License | BSD-2-Clause |
| Source archive | https://github.com/Juniper/libxo/releases/download/1.7.5/libxo-1.7.5.tar.gz |
| Build dependencies | libtool |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libxo |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
libxo
nix profile install nixpkgs#libxolibxo 1.7.5-r0
Library for Generating Text, XML, JSON, and HTML Output
http://juniper.github.io/libxo/libxo-manual.html
sudo apk add libxolibxo-dev 1.7.5-r0
Library for Generating Text, XML, JSON, and HTML Output (development files)
http://juniper.github.io/libxo/libxo-manual.html
sudo apk add libxo-devlibxo-doc 1.7.5-r0
Library for Generating Text, XML, JSON, and HTML Output (documentation)
http://juniper.github.io/libxo/libxo-manual.html
sudo apk add libxo-doclibxo 1.7.5-3.fc44
A Library for Generating Text, XML, JSON, and HTML Output
https://github.com/Juniper/libxo
sudo dnf install libxolibxo-devel 1.7.5-3.fc44
Development files for libxo
https://github.com/Juniper/libxo
sudo dnf install libxo-devellibxo
sudo port install libxosource 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.