McMaster.Extensions.Hosting.CommandLine 5.0.0

Prefix Reserved
dotnet add package McMaster.Extensions.Hosting.CommandLine --version 5.0.0
                    
NuGet\Install-Package McMaster.Extensions.Hosting.CommandLine -Version 5.0.0
                    
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="McMaster.Extensions.Hosting.CommandLine" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="McMaster.Extensions.Hosting.CommandLine" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="McMaster.Extensions.Hosting.CommandLine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add McMaster.Extensions.Hosting.CommandLine --version 5.0.0
                    
#r "nuget: McMaster.Extensions.Hosting.CommandLine, 5.0.0"
                    
#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.
#:package McMaster.Extensions.Hosting.CommandLine@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=McMaster.Extensions.Hosting.CommandLine&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=McMaster.Extensions.Hosting.CommandLine&version=5.0.0
                    
Install as a Cake Tool

Provides command-line parsing API integration with the generic host API (Microsoft.Extensions.Hosting).

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on McMaster.Extensions.Hosting.CommandLine:

Package Downloads
KubeOps

This is an operator sdk written in c#. It enables a developer to create a custom controller for CRDs (CustomResourceDefinitions) that runs on kubernetes.

MbUtils.Extensions.CommandLineUtils

Helper classes for command line app

OpenExtensions.Cli

This library provides abstractions, extensions and helpers for private cli tools

42.CLI.Toolkit

Handy toolkit for a fancy CLI application.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on McMaster.Extensions.Hosting.CommandLine:

Repository Stars
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
real-zony/ZonyLrcToolsX
ZonyLrcToolsX 是一个能够方便地下载歌词的小软件。
Mimetis/Dotmim.Sync
A brand new database synchronization framework, multi platform, multi databases, developed on top of .Net Standard 2.0. https://dotmimsync.readthedocs.io/
Version Downloads Last Updated
5.0.0 435 1/21/2026
5.0.0-beta.348 54 1/12/2026
5.0.0-beta.325 75 12/28/2025
4.1.1 604,006 2/19/2024
4.1.0 126,847 8/26/2023
4.0.2 420,087 11/19/2022
4.0.1 320,934 2/1/2022
4.0.0 47,548 12/27/2021
4.0.0-beta.74 38,595 1/22/2021
4.0.0-beta.56 464 1/17/2021
3.1.0 393,408 1/10/2021
3.1.0-rc.371 601 11/7/2020
3.1.0-beta.356 963 9/13/2020
3.1.0-beta.336 449 8/28/2020
3.0.0 152,533 3/29/2020
3.0.0-rc.289 606 3/21/2020
3.0.0-alpha.268 2,175 3/9/2020
2.6.0 13,898 3/8/2020
2.5.1 99,249 2/7/2020
2.5.0 15,671 1/2/2020
2.4.4 15,351 11/11/2019
2.4.3 19,557 11/1/2019
2.4.2 14,488 9/24/2019
2.4.1 3,168 9/18/2019
2.4.0 995 9/14/2019
2.4.0-rc.103 509 9/4/2019
2.4.0-beta.99 538 8/24/2019
2.4.0-beta.81 565 7/26/2019
2.4.0-alpha.70 500 6/20/2019
2.3.4 13,582 4/11/2019
2.3.3 2,263 3/11/2019
2.3.2 3,482 2/5/2019
2.3.1 1,564 1/19/2019
2.3.0 11,646 1/1/2019
2.3.0-rc.460 1,053 12/15/2018
2.3.0-beta 1,616 12/4/2018

Changes since 4.x:
* Drop support for .NET Standard 2 and < .NET 6
* Update dependencies to latest .NET 8 libraries.
   

See more details here: https://github.com/natemcmaster/CommandLineUtils/blob/main/CHANGELOG.md#v500