Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

CommandLineParser

Free#38 of 60 in Command-Line Interface Frameworks

CommandLineParser: A free, typed parser for .NET and F# projects centered on attribute-driven CLI design. Ranked #38 of 60 in Command-Line Interface Frameworks by our editors (5.5/10); pricing: Free plan; best for F# and .NET attribute-based parsing.

5.5/10Editor score
CommandLineParser5.5 View parser docs

At a glance

  • Editor score
    5.5 / 10
  • Pricing
    Free plan
  • Best for
    F# and .NET attribute-based parsing
  • Free plan
    Yes
  • Paid from
    Free
  • Founded
    2005
  • Facts checked
    17 Nov 2026
  • Where it wins

    • Typed mapping for scalars, enums, nullable values, and sequences
    • Attribute-based verbs, option groups, and mutually exclusive options
    • F# option support with asynchronous results and command-line unparsing
  • Where it doesn't

    • Shell completion and configuration-file workflows are outside its documented scope
    • Support channels are limited to community resources and documentation
    • Self-hosted deployment leaves runtime operations to your team

Our verdict on CommandLineParser

CommandLineParser is an open-source .NET library for defining and parsing command-line options, values, and verb commands through attributes and typed classes. It suits developers building command-line applications in C#, F#, or VB.NET across .NET Framework, Mono, .NET Standard, and .NET Core. Generated help text, parsing errors, mutable or immutable types, and typed value conversion give teams a structured way to turn CLI input into application data.

The library is distributed as open-source software with a free plan, and it can be added through NuGet or Paket. Projects can also integrate it by copying source files into an application. Its platform coverage spans Windows, macOS, and Linux, while self-hosted deployment keeps the runtime model inside the consuming project. The ecosystem fit is strongest for .NET teams already managing dependencies through standard package tooling and wanting a library rather than a hosted command-line service.

Typed attribute mapping is the standout capability. Developers can define options and values declaratively, combine verbs with option groups, enforce mutual exclusion, handle sequences, and process results asynchronously. F# users also get package support and F# option-type handling, while command-line unparsing and formatting help represent values back as arguments. The documented scope centers on parsing and presentation; teams prioritizing shell-completion workflows, hierarchical nesting, or configuration-file binding should compare alternatives before choosing it. CommandLineParser is a strong fit for solo developers through enterprise teams that want an embeddable, typed parser, but less suitable when broader CLI orchestration is the primary requirement.

Your product? Our editors can test CommandLineParser in depth and publish a review, labelled as paid · from $149/mo →

CommandLineParser pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

CommandLineParser fact sheet

Free planYes
Paid fromFree
Shell completionNot verified
Nested subcommandsNot verified
Code generationNot verified
Config file supportNot verified
Environment variablesNot verified
Typed APIYes
DeploymentSelf-hosted
PlatformsWindows, macOS, Linux
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: NuGet, Paket
PricingFree plan
Websitegithub.com
Facts checked17 Nov 2026

CommandLineParser integrations

CommandLineParser lists 2 integrations on its own site.

  • NuGet
  • Paket

Alternatives to CommandLineParser

See all CommandLineParser alternatives →

Used CommandLineParser? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used CommandLineParser for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — CommandLineParser 5.5/10

CommandLineParser is listed in our Command-Line Interface Frameworks directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/commandlineparser/"><img src="https://www.itechguides.com/best/badge/commandlineparser.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

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