Optimus review
A free, declarative Elixir parser for structured commands, typed values, and nested subcommands.
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Optimus is an open-source Elixir library for building command-line utilities and escripts. Developers describe positional arguments, flags, options, metadata, and subcommands declaratively, then parse input into structured ParseResult values. Its intended audience is solo developers and small to mid-market teams working in Elixir who want consistent command definitions without writing parsing logic from scratch.
The library’s main strength is the depth of its command model. Built-in integer, float, and string parsers handle common types, while custom parsers support application-specific values. Specifications can mark options as required, assign defaults, accept multiple values, expose global settings, or hide options. Hierarchical subcommand paths and subcommand fetching support multi-level command trees. Configuration is validated during construction, and generated help plus automatic help and version handling cover common interface behavior. As an open-source project under the MIT license, Optimus can be adopted without a license fee.
Optimus fits most naturally into the Elixir ecosystem, especially projects shipping command-line utilities or escripts. Its declarative API and typed parsing are useful when a team wants predictable ParseResult structures and centralized validation. Support is centered on documentation, so teams should assess whether that model matches their maintenance needs. Projects built outside Elixir, or teams seeking a cross-language command framework, should choose an alternative designed for their runtime. Likewise, organizations looking for AI-assisted CLI development will not find those capabilities here.
Optimus pros and cons
- Where it wins
- Declarative commands with typed built-in and custom parsers
- Nested subcommands with required, default, global, and repeated options
- Automatic validation, help output, and version handling
- Where it doesn't
- Designed for the Elixir ecosystem rather than cross-language projects
- Documentation is the primary support channel
- No AI-assisted features are provided
Optimus fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update