.NET Framework
This is a prerelease version of CommandLineParser.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommandLineParser --version
NuGet\Install-Package CommandLineParser -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommandLineParser" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommandLineParser --version
#r "nuget: CommandLineParser,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommandLineParser as a Cake Addin
#addin nuget:?package=CommandLineParser&version=

// Install CommandLineParser as a Cake Tool
#tool nuget:?package=CommandLineParser&version=

The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (304)

Showing the top 5 NuGet packages that depend on CommandLineParser:

Package Downloads
BenchmarkDotNet The ID prefix of this package has been reserved for one of the owners of this package by

Powerful .NET library for benchmarking

Microsoft.ApplicationInsights.Profiler.Core The ID prefix of this package has been reserved for one of the owners of this package by

Core Library for Microsoft Application Insights Profiler.


Modern and flexible load testing framework for Pull and Push scenarios, designed to test any system regardless a protocol (HTTP/WebSockets/AMQP etc) or a semantic model (Pull/Push).


The Service Shell slice of the PeanutButter mini-suite 1. Inherit from `Shell` 2. Set Desdcription, ServiceName, and, optionally, Version 3. override `RunOnce` 4. remember to call Shell.RunMain<MyService>(args) from your Program/Main method Service Shell provides an easy way to run polling services - simply implement the RunOnce method and set your interval. Shell ensures that the RunOnce is not re-entered: if your poll time exceeds the interval, you'll simply run polls back-to-back Including (4) means you can, from the cli, perform the following with the service: - install - uninstall - start - stop - restart - run-once (for testing or for running from another scheduler)

Google.Ads.Gax The ID prefix of this package has been reserved for one of the owners of this package by

This library provides functionality that makes it easier to work with Generated API Client GAPIC client libraries for Google's Ads APIs.

GitHub repositories (389)

Showing the top 5 popular GitHub repositories that depend on CommandLineParser:

Repository Stars
PowerShell for every system!
The Free Software Media System
Experimental Nintendo Switch Emulator written in C#
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
Version Downloads Last updated
2.9.1 12,487,435 5/17/2022
2.8.0 31,257,579 5/1/2020
2.7.82 4,857,164 1/1/2020
2.7.0 190,794 1/1/2020
2.7.0-preview1 1,709 1/1/2020
2.6.0 6,055,526 7/31/2019
2.5.0 2,435,142 4/29/2019
2.4.3 19,846,403 1/9/2019
2.4.2 5,223 1/9/2019
2.4.1 4,878 1/9/2019
2.4.0 14,134 1/9/2019
2.3.0 4,435,401 8/14/2018
2.2.1 3,219,151 1/11/2018
2.2.0 119,141 1/7/2018
2.1.1-beta 3,061,170 11/5/2016
2.0.275-beta 533,576 10/16/2015
2.0.273-beta 166,776 9/22/2015
2.0.261-beta 15,800 9/2/2015
2.0.257-beta 5,004 8/27/2015
2.0.215-beta 3,845 7/31/2015
2.0.211-alpha 6,525 7/31/2015
2.0.9-alpha 206,100 6/27/2015
2.0.0-pre 19,087 6/14/2015
1.9.71 8,226,369 2/27/2013
1.9.6-rc1 3,859 2/22/2013
1.9.5-rc0 3,626 2/21/2013 3,765 2/18/2013 3,894 2/7/2013 3,763 2/2/2013 76,682 12/22/2012 6,518 12/14/2012 9,700 12/9/2012 5,507 11/28/2012 36,607 8/5/2012 49,544 7/6/2012