macOS
brew install usagelocal Homebrew formula metadata
brew
Tool for working with usage-spec CLIs. Version 3.5.4 via Homebrew; verified 2026-07-06.
install
brew install usagelocal Homebrew formula metadata
nix profile install nixpkgs#usagenixpkgs package indexes · pkgs/by-name/us/usage/package.nix · source: api.github.com
sudo pacman -S usageArch Linux sync databases · usage · source: geo.mirror.pkgbuild.com
overview
Tool for working with usage-spec CLIs
history
usage is both a specification and a CLI for describing command-line interfaces. The official README compares a Usage spec to OpenAPI for CLIs, covering arguments, flags, environment variables, and config files so downstream tools can generate completions, documentation, man pages, parsers, SDKs, and framework scaffolding.
The project grew out of the modern CLI tooling ecosystem around jdx's tools and the KDL document language. Public GitHub releases show early v0.1.x releases in 2024 and v3.x releases in 2026, while the docs describe an expanding scope from shell completions and man pages toward type-safe SDK generation.
The official CLI docs list installation through mise, Cargo, Homebrew, and Arch Linux. The input metadata also records Homebrew, Nix, and pacman package names, indicating adoption by users who want the same CLI-spec tool available across developer workstations and Linux distributions.
A Usage spec is written in KDL and can describe a CLI's name, binary, about text, version, author, license, flags, arguments, subcommands, config files, environment variables, and defaults. The `usage` CLI then consumes that spec to generate shell completions, Markdown, man pages, JSON, and related artifacts.
Package nerds care about usage because it treats CLI metadata as a portable build artifact. Instead of each package separately hand-maintaining completions, man pages, and docs, maintainers can ship a spec and generate those outputs consistently.
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 |
|---|---|---|---|
usage | 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.
install metadata
| Package key | brew:usage |
|---|---|
| Version | 3.5.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/usage |
| Homepage | https://usage.jdx.dev/ |
| Repository | https://github.com/jdx/usage |
| Upstream docs | https://usage.jdx.dev/ |
| License | MIT |
| Source archive | https://github.com/jdx/usage/archive/refs/tags/v3.5.4.tar.gz |
| Last updated | 2026-07-06T22:21:19Z |
| Pulse | updated |
| Build dependencies | rust |
| 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 | usage |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
usage
nix profile install nixpkgs#usageusage 3.2.0-1
A specification for CLIs
sudo pacman -S usagesource 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.