C# Command-line

Open-source C# projects categorized as Command-line

Top 23 C# Command-line Projects

Command-line
  1. PowerShell

    PowerShell for every system!

    Project mention: PowerShell 7.5.0 Released | news.ycombinator.com | 2025-01-23
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. N_m3u8DL-CLI

    [.NET] m3u8 downloader 开源的命令行m3u8/HLS/dash下载器,支持普通AES-128-CBC解密,多线程,自定义请求头等. 支持简体中文,繁体中文和英文. English Supported.

  4. gsudo

    Sudo for Windows

    Project mention: Show HN: Open-sourcing my failed startup) Buzee – A file search application | news.ycombinator.com | 2024-12-14

    Ugh, I tried looking into the state of codesigning foss apps for windows, and it's not great it seems.

    https://github.com/gerardog/gsudo/issues/1#issuecomment-2111...

    Suggest either:

    https://github.com/Azure/trusted-signing-action

    Which is 10 USD/month - or publishing in the windows store:

    https://learn.microsoft.com/en-us/windows/apps/publish/?tabs...

    https://github.com/marketplace/actions/microsoft-store-publi...

    Not free either, but one time fee:

    https://github.com/microsoft/store-submission/issues/15

  5. Command Line Parser

    The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support

  6. CliWrap

    Library for running command-line processes

    Project mention: Referencing external Docker containers in .NET Aspire using the new custom resources API | dev.to | 2024-05-04

    We will use the command docker logs --follow CONTAINER-NAME-OR-ID to retrieve the logs of the external container. To facilitate the execution of the external docker process, we will use CliWrap instead of the primitive Process.

  7. mpv.net

    🎞 mpv.net is a media player for Windows with a modern GUI.

  8. command-line-api

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

    Project mention: C# | Building a Command-Line (CLI) App using System.CommandLine Library | dev.to | 2024-07-23

    You have successfully created a basic Command-Line Interface (CLI) application using the System.CommandLine library in C# and .NET. Customize and extend the application based on your specific requirements. For more information, refer to the official documentation: System.CommandLine GitHub

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Cocona

    Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.

    Project mention: How to Create Command Line Console Applications in .NET | dev.to | 2024-11-29

    Cocona is a micro-framework that streamlines this process, allowing you to focus on your application's core functionality. This library uses ASP.NET Core-like Minimal API style for handling commands.

  11. CommandLineUtils

    Command line parsing and utilities for .NET

  12. CliFx

    Class-first framework for building command-line interfaces

  13. azure-cost-cli

    CLI tool to perform cost analysis on your Azure subscription

  14. Sharprompt

    Interactive command-line based application framework for C#

  15. Towel

    Throw in the towel.

  16. Kurukuru

    Terminal Spinner for .NET platform

  17. SmartImage

    Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more)

  18. CommandDotNet

    A modern framework for building modern CLI apps

  19. winget-create

    The Windows Package Manager Manifest Creator command-line tool (aka wingetcreate)

  20. Docopt

    Port of docopt to .net

  21. Typin

    Declarative framework for interactive CLI applications

  22. SimplySerial

    A windows console application for serial communications.

  23. DotMake Command-Line

    Declarative syntax for System.CommandLine via attributes for easy, fast, strongly-typed (no reflection) usage. Includes a source generator which automagically converts your classes to CLI commands and properties to CLI options or CLI arguments. (by dotmake-build)

  24. ObsidianSailboat

    Nmap and NSE command line wrapper in the style of Metasploit

  25. CommandLine

    A console prompt for Unity. (by Butjok)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Command-line discussion

Log in or Post with

C# Command-line related posts

  • Show HN: NeatShift – Organize Windows Files with Symbolic Links

    6 projects | news.ycombinator.com | 27 Dec 2024
  • CRLF is obsolete and should be abolished

    4 projects | news.ycombinator.com | 13 Oct 2024
  • C# | Building a Command-Line (CLI) App using System.CommandLine Library

    1 project | dev.to | 23 Jul 2024
  • Referencing external Docker containers in .NET Aspire using the new custom resources API

    2 projects | dev.to | 4 May 2024
  • Sudo for Windows

    12 projects | news.ycombinator.com | 8 Feb 2024
  • DotMake Command-Line VS command-line-api - a user suggested alternative

    2 projects | 13 Dec 2023
  • How to configure true dependency injection in System.CommandLine

    3 projects | dev.to | 20 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Command-line projects in C#? This list will help you:

# Project Stars
1 PowerShell 46,747
2 N_m3u8DL-CLI 14,789
3 gsudo 5,495
4 Command Line Parser 4,654
5 CliWrap 4,528
6 mpv.net 3,908
7 command-line-api 3,480
8 Cocona 3,350
9 CommandLineUtils 2,246
10 CliFx 1,535
11 azure-cost-cli 913
12 Sharprompt 796
13 Towel 731
14 Kurukuru 661
15 SmartImage 605
16 CommandDotNet 594
17 winget-create 533
18 Docopt 356
19 Typin 247
20 SimplySerial 233
21 DotMake Command-Line 96
22 ObsidianSailboat 39
23 CommandLine 33

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C# is
the 10th most popular programming language
based on number of references?