System.CommandLine 2.0.0-beta4.22272.1

Prefix Reserved
This is a prerelease version of System.CommandLine.
dotnet add package System.CommandLine --version 2.0.0-beta4.22272.1                
NuGet\Install-Package System.CommandLine -Version 2.0.0-beta4.22272.1                
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="System.CommandLine" Version="2.0.0-beta4.22272.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.CommandLine --version 2.0.0-beta4.22272.1                
#r "nuget: System.CommandLine, 2.0.0-beta4.22272.1"                
#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 System.CommandLine as a Cake Addin
#addin nuget:?package=System.CommandLine&version=2.0.0-beta4.22272.1&prerelease

// Install System.CommandLine as a Cake Tool
#tool nuget:?package=System.CommandLine&version=2.0.0-beta4.22272.1&prerelease                

This package includes a powerful command line parser and other tools for building command line applications, including:
   * Shell-agnostic support for command line completions
   * Method invocation and an extensible middleware pipeline
   * Constructor- and property-based model binding for complex types
   * Test and debug support

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

  • net6.0

    • No dependencies.

NuGet packages (162)

Showing the top 5 NuGet packages that depend on System.CommandLine:

Package Downloads

This package provides support for structured command line output rendering. Write code once that renders correctly in multiple output modes, including System.Console, virtual terminal (using ANSI escape sequences), and plain text.


This package provides command handler support for System.CommandLine performs parameter and model binding by matching option and argument names to parameter and property names.


This package includes the experimental DragonFruit app model for System.CommandLine, which allows you to create a command line application using only a Main method while getting support for complex type binding, error reporting, help, shell completions, and more.


This package provides support for using System.CommandLine with Microsoft.Extensions.Hosting.


This package contains the command line extensions for HotChocolate

GitHub repositories (215)

Showing the top 5 popular GitHub repositories that depend on System.CommandLine:

Repository Stars
Windows system utilities to maximize productivity
A C# port of shadowsocks
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Version Downloads Last updated
2.0.0-beta4.22272.1 11,826,968 6/2/2022
2.0.0-beta3.22114.1 1,723,398 2/17/2022
2.0.0-beta3.22111.2 68,728 2/12/2022
2.0.0-beta3.22106.2 27,714 2/6/2022
2.0.0-beta3.22103.3 4,180 2/4/2022
2.0.0-beta2.21617.1 473,706 12/17/2021
2.0.0-beta1.21308.1 2,927,360 7/2/2021
2.0.0-beta1.21216.1 1,903,641 4/17/2021
2.0.0-beta1.20574.7 2,181,306 11/25/2020
2.0.0-beta1.20371.2 4,222,355 7/23/2020
2.0.0-beta1.20214.1 448,691 4/15/2020
2.0.0-beta1.20213.1 223,564 4/13/2020
2.0.0-beta1.20158.1 4,194,290 3/8/2020
2.0.0-beta1.20104.2 316,720 2/7/2020
2.0.0-beta1.20071.2 330,612 1/22/2020
0.3.0-alpha.20070.2 33,944 1/21/2020
0.3.0-alpha.20054.1 194,084 1/5/2020