System.CommandLine
                             
                            
                                2.0.0-rc.2.25502.107
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    dotnet add package System.CommandLine --version 2.0.0-rc.2.25502.107
NuGet\Install-Package System.CommandLine -Version 2.0.0-rc.2.25502.107
<PackageReference Include="System.CommandLine" Version="2.0.0-rc.2.25502.107" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-rc.2.25502.107" />
<PackageReference Include="System.CommandLine" />
paket add System.CommandLine --version 2.0.0-rc.2.25502.107
#r "nuget: System.CommandLine, 2.0.0-rc.2.25502.107"
#:package System.CommandLine@2.0.0-rc.2.25502.107
#addin nuget:?package=System.CommandLine&version=2.0.0-rc.2.25502.107&prerelease
#tool nuget:?package=System.CommandLine&version=2.0.0-rc.2.25502.107&prerelease
Support for parsing command lines, supporting both POSIX and Windows conventions and shell-agnostic command line completions.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. | 
- 
                                                    .NETStandard 2.0- System.Memory (>= 4.5.5)
 
- 
                                                    net8.0- No dependencies.
 
NuGet packages (261)
Showing the top 5 NuGet packages that depend on System.CommandLine:
| Package | Downloads | 
|---|---|
| System.CommandLine.NamingConventionBinder 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. | |
| System.CommandLine.Rendering 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. | |
| System.CommandLine.DragonFruit 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. | |
| System.CommandLine.Hosting This package provides support for using System.CommandLine with Microsoft.Extensions.Hosting. | |
| HotChocolate.AspNetCore.CommandLine This package contains the command line extensions for HotChocolate | 
GitHub repositories (305)
Showing the top 20 popular GitHub repositories that depend on System.CommandLine:
| Repository | Stars | 
|---|---|
| microsoft/PowerToys 
                                                            Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks
                                                         | |
| PowerShell/PowerShell 
                                                            PowerShell for every system!
                                                         | |
| dotnet/aspnetcore 
                                                            ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
                                                         | |
| DevToys-app/DevToys 
                                                            A Swiss Army knife for developers.
                                                         | |
| microsoft/semantic-kernel 
                                                            Integrate cutting-edge LLM technology quickly and easily into your apps
                                                         | |
| BeyondDimension/SteamTools 
                                                            🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
                                                         | |
| dotnet/roslyn 
                                                            The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
                                                         | |
| dotnet/runtime 
                                                            .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
                                                         | |
| MaterialDesignInXAML/MaterialDesignInXamlToolkit 
                                                            Google's Material Design in XAML & WPF, for C# & VB.Net. 
                                                         | |
| winsw/winsw 
                                                            A wrapper executable that can run any executable as a Windows service, in a permissive license.
                                                         | |
| duplicati/duplicati 
                                                            Store securely encrypted backups in the cloud!
                                                         | |
| nilaoda/BBDown 
                                                            Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
                                                         | |
| MonoGame/MonoGame 
                                                            One framework for creating powerful cross-platform games.
                                                         | |
| dotnet/orleans 
                                                            Cloud Native application framework for .NET
                                                         | |
| gui-cs/Terminal.Gui 
                                                            Cross Platform Terminal UI toolkit for .NET
                                                         | |
| unoplatform/uno 
                                                            Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly.  Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
                                                         | |
| git-ecosystem/git-credential-manager 
                                                            Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
                                                         | |
| BartoszCichecki/LenovoLegionToolkit 
                                                            Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
                                                         | |
| nilaoda/N_m3u8DL-RE 
                                                            Cross-Platform, modern and powerful stream downloader for MPD/M3U8/ISM. English/简体中文/繁體中文. 
                                                         | |
| Azure/azure-sdk-for-net 
                                                            This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net. 
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 2.0.0-rc.2.25502.107 | 68,918 | 10/14/2025 | 
| 2.0.0-rc.1.25451.107 | 224,631 | 9/9/2025 | 
| 2.0.0-beta7.25380.108 | 163,084 | 8/12/2025 | 
| 2.0.0-beta6.25358.103 | 166,335 | 7/15/2025 | 
| 2.0.0-beta5.25306.1 | 312,688 | 6/19/2025 | 
| 2.0.0-beta4.22272.1 | 31,587,869 | 6/2/2022 | 
| 2.0.0-beta3.22114.1 | 2,513,814 | 2/17/2022 | 
| 2.0.0-beta3.22111.2 | 124,609 | 2/12/2022 | 
| 2.0.0-beta3.22106.2 | 34,034 | 2/6/2022 | 
| 2.0.0-beta3.22103.3 | 8,057 | 2/4/2022 | 
| 2.0.0-beta2.21617.1 | 781,179 | 12/17/2021 | 
| 2.0.0-beta1.21308.1 | 4,022,450 | 7/2/2021 | 
| 2.0.0-beta1.21216.1 | 2,510,112 | 4/17/2021 | 
| 2.0.0-beta1.20574.7 | 2,679,633 | 11/25/2020 | 
| 2.0.0-beta1.20371.2 | 6,109,525 | 7/23/2020 | 
| 2.0.0-beta1.20214.1 | 677,650 | 4/15/2020 | 
| 2.0.0-beta1.20213.1 | 237,691 | 4/13/2020 | 
| 2.0.0-beta1.20158.1 | 4,236,717 | 3/8/2020 | 
| 2.0.0-beta1.20104.2 | 493,625 | 2/7/2020 | 
| 2.0.0-beta1.20071.2 | 442,404 | 1/22/2020 | 
| 0.3.0-alpha.20070.2 | 45,259 | 1/21/2020 | 
| 0.3.0-alpha.20054.1 | 208,934 | 1/5/2020 |