Skip to main content
System.CommandLine package icon

System.CommandLine

Support for parsing command lines, supporting both POSIX and Windows conventions and shell-agnostic command line completions.

Total Downloads
96.0M
96,046,441
Published
Aug 12, 2025
Latest stable version

Install

.NET CLI
dotnet add package System.CommandLine --version 2.0.0-beta7.25380.108
Package Manager Console
Install-Package System.CommandLine -Version 2.0.0-beta7.25380.108
PackageReference
<PackageReference Include="System.CommandLine" Version="2.0.0-beta7.25380.108" />

Frameworks

net8.0 .NETStandard2.0

Dependencies

System.Memory
.NETStandard2.0
[4.5.5, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.