dotnet/command-line-api

Command line parsing, invocation, and rendering of terminal output.

C#

3,677

2,356 commits

updated Oct 12, 2026

See the code

README

Build Status Join the chat at https://gitter.im/dotnet/command-line-api

This repository contains the code for the System.CommandLine libraries and the dotnet-suggest global tool.

Packages

PackageVersionDescription
System.CommandLineNugetCommand line parser, model binding, invocation, shell completions
dotnet-suggestNugetA command-line tool to provide shell completions for apps built using System.CommandLine.

Daily Builds

Daily builds are available if you add this feed to your nuget.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json

Versions are listed at: https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-libraries/NuGet/System.CommandLine/versions

Documentation

The System.CommandLine documentation can now be found at Microsoft Learn.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct

Contributing

See the Contributing guide for developer documentation.

License

This project is licensed under the MIT license.

.NET Foundation

.NET is a .NET Foundation project.

command-line
commandlineparser
completions
dotnet-suggest
parser
parsing
posix
system-commandline
terminal

dotnet/command-line-api

Command line parsing, invocation, and rendering of terminal output.

C#

3,677

2,356 commits

updated Oct 12, 2026

See the code

README

Build Status Join the chat at https://gitter.im/dotnet/command-line-api

This repository contains the code for the System.CommandLine libraries and the dotnet-suggest global tool.

Packages

PackageVersionDescription
System.CommandLineNugetCommand line parser, model binding, invocation, shell completions
dotnet-suggestNugetA command-line tool to provide shell completions for apps built using System.CommandLine.

Daily Builds

Daily builds are available if you add this feed to your nuget.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json

Versions are listed at: https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-libraries/NuGet/System.CommandLine/versions

Documentation

The System.CommandLine documentation can now be found at Microsoft Learn.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct

Contributing

See the Contributing guide for developer documentation.

License

This project is licensed under the MIT license.

.NET Foundation

.NET is a .NET Foundation project.

command-line
commandlineparser
completions
dotnet-suggest
parser
parsing
posix
system-commandline
terminal

Project health

Overall

5.2/10

Maintained

6/10

Code review

10/10
OpenSSF Scorecard

Latest release

2.0.12 · Sep 8, 2026

Releases this year

13

Significant stargazers

(top 24 of 43)

Youssef Fahmy

429 followers · starred Jan 2021

Ben {chmark} Adams

2,035 followers · starred Jan 2020

Joseph Musser

151 followers · starred Dec 2018

Chester Liu

2,130 followers · starred May 2024