usage 7.5.0
by jdx
A specification for CLIs.
- Open source
- Windows
- Updated Dec 1, 2026
Official version from jdxDownloaded from the publisher’s site · Official website
- No download manager
- No bundled offers
- 0Views
- 0Downloads
- 0Likes
- Software Rank#23in Developer tools
Screenshots

About usage
Usage is a spec and CLI for defining CLI tools. Arguments, flags, environment variables, and config files can all be defined in a Usage spec. It can be thought of like OpenAPI (swagger) for CLIs. Here are some potential reasons for defining your CLI with a Usage spec:
- Generate autocompletion scripts - Generate markdown documentation - Generate man pages - Generate type-safe SDK client libraries for TypeScript, Python, and Rust - Use an advanced arg parser in any language - Scaffold one spec into different CLI frameworks-even different languages - [coming soon] Host your CLI documentation on usage.sh
What’s new in 7.5.0
Added
- (spec) A new env node declares an environment variable that a command reads but that isn't the value of any flag (#1689). Put it inside a cmd for a variable that command reads, or at the top level for one the whole program reads. Proposed in discussion #1688.
cmd "shell" help="Open a shell in the worktree" {
env "SHELL" help="The program to open" default_note="bash"
}
- Markdown docs list the variable under Environment on the command's page. Man pages list it in the command's section, and top-level variables get an ENVIRONMENT section.
- usage generate json includes it as envs on the command.
- unknown_env treats it as declared, including when it is hidden.
- usage lint adds two rules: missing-env-help (info) and duplicate-env (error).
The node supports help, long_help, default_note, deprecated and hide. It only documents the variable: usage never reads it or applies the default, and subcommands don't inherit it. Library users get a new SpecEnv type and a SpecCommand::envs field. The Rust derives don't emit env nodes yet, so for now you have to declare them in KDL.
Fixed
- (complete) complete-word no longer offers file names when the command takes no more positional arguments and has no subcommands (#1681). Pressing Tab on an empty word now lists the command's flags. A word that doesn't start with -, or any word after --, gets no candidates. For example, mise run <task> <Tab> for a task that has only flags now shows those flags instead of the current folder. Thanks to @roalcantara for reporting it in #1679.
Performance
- (spec) Large specs load faster, which speeds up every Tab completion (#1683, #1684). The KDL parser is about 3x faster and produces the same results and errors as before. Global flags are also no longer copied into every command during spec loading. On mise's spec, completing mise use <Tab> takes about 57% fewer instructions.
💚 Sponsor usage
usage is built and maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.
If usage powers CLI specs, docs, or completions for a tool you maintain or use, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep usage fast, free, and independent.
Specifications
- Name
- usage
- Version
- 7.5.0
- Released
- December 1, 2026
- Publisher
- jdx
- Platform
- Windows
- Price
- Open source
- Category
- Developer tools
- On FamousWhy since
- December 2026
- Download from
- The publisher’s site
in Developer tools for Windows
out of 401 programsHow the score is made
Famous Software Rank compares usage with every program on FamousWhy, from 0 to 100. Most of it comes from visitors: downloads, visits, likes, followers and boosts. It is recalculated every night. How Famous Software Rank works
- Bronze0–19
- Silver20–39
- Gold40–59
- Platinum60–79
- Diamond80–100
Alternatives to usage
-
17BronzeACS 2.27.0
Admin Config Service CLI for managing splunk cloud stacks.
-
17Bronzeagentty 0.9.72
Blazing-fast Claude in your terminal — a C++26 alternative to claude-code.
-
17BronzeALTRun 2026.12.02
Lightweight, open-source Alfred-style launcher for Windows.
-
17BronzeZed 1.31.0
High-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
-
17BronzeAnchors 0.2.67
Spec-first continuity framework for AI-assisted development.
Get more downloads for usage
Free badges, a live rank widget and share links, for the publisher and for everyone who likes the program. Each one links back here, and every visitor it brings counts towards the Famous Software Rank.
Show the live Famous Software Rank
- 👀More exposureEvery visitor the widget sends to your FamousWhy page raises the Famous Software Rank and moves the program up the category lists and the top 10.
- ⬇️More downloads and installsA higher place puts the program in front of more people who came to install something, every day.
- 👥Your visitors bring new usersFans who click the widget can like and boost the program, and every boost lifts it in front of new people.
Share usage
Post the page on your social accounts or in your newsletter. Visitors who arrive through these links count towards the Famous Software Rank too.
Questions about usage
Is usage free?
Yes. usage is open source and free to use.
Is it safe to download usage?
You get the official version released by jdx. FamousWhy doesn’t repackage it or add download managers, toolbars or other offers.
What is the latest version of usage?
The latest version we know of is 7.5.0, released on December 1, 2026.