C# Command-line

Open-source C# projects categorized as Command-line | Edit details

Top 20 C# Command-line Projects

  • PowerShell

    PowerShell for every system!

    Project mention: Sorting csv by numbers | reddit.com/r/PowerShell | 2022-05-18

    I'd encourage you to file an issue on https://github.com/PowerShell/PowerShell /u/rogueit and maybes we can at least get it fixed for future versions :)

  • N_m3u8DL-CLI

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

    Project mention: I'm looking for 1DM+ alternative for PC. | reddit.com/r/software | 2022-02-14

    After getting the link, use yt-dlp (https://github.com/yt-dlp/yt-dlp) or N_m3u8DL (https://github.com/nilaoda/N_m3u8DL-CLI/releases) to download.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • Command Line Parser

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

    Project mention: What's your favorite command line arg parser? | reddit.com/r/csharp | 2022-01-31
  • command-line-api

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

    Project mention: What's your favorite command line arg parser? | reddit.com/r/csharp | 2022-01-31

    System.Commandline is my current favorite.

  • CommandLineUtils

    Command line parsing and utilities for .NET

    Project mention: Parsing the command line in the .NET 6 new console format? | reddit.com/r/csharp | 2022-03-31
  • CliWrap

    Library for running command line processes

    Project mention: I Want Off Mr. Golang's Wild Ride | news.ycombinator.com | 2022-04-28

    > You can take a look at System.Diagnostics.Process for one of the worst offenders.

    Yeah, this is one of my least favourite APIs in all of .NET. My understanding is that the .NET team is planning to redo it in the next few years, but if you want something better right now I highly recommend the excellent CliWrap library: https://github.com/Tyrrrz/CliWrap

  • Cocona

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

    Project mention: Announcing .NET 7 Preview 2 – The New, ‘New’ Experience | reddit.com/r/dotnet | 2022-03-16

    They are taking sooooooo long to actually finish that library it’s annoying. This is the most ergonomic one i have found so far.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • mpv.net

    🎞 mpv.net is a modern media player for Windows that works just like mpv.

    Project mention: How to use themes and increase playback speed on MPV player? | reddit.com/r/mpv | 2022-04-30

    use mpv.net or mpv-easy-player

  • CliFx

    Declarative framework for building command line interfaces

    Project mention: TUIs | news.ycombinator.com | 2022-03-16
  • Towel

    Throw in the towel.

    Project mention: More C# Console Games | dev.to | 2022-02-09

    PacMan is... a PacMan clone in the console. Get the dots. Dodge the ghosts. It's not intended to be very faithful though. I didn't research the AI of the ghost, I just came up with my own AIs that worked. Here is what I did for the ghost AIs:     - Ghost a: follows you via Dijkstra Path Finding and updates every 6 frames (faster)     - Ghost b: randomly moves and updates every 6 frames (faster)     - Ghost c: follows you via Dijkstra Path Finding and updates every 12 frames (slower)     - Ghost d: randomly moves and updates every 12 frames (slower) Note: for this game I pulled in a reference to my nuget package Towel because it includes generic versions of the Dijkstra Path Finding algorithm.

  • Sharprompt

    Interactive command-line based application framework for C#

    Project mention: How to build an interactive command-line application in .NET | dev.to | 2021-08-23

    View on GitHub

  • CommandDotNet

    A modern framework for building modern CLI apps

  • Docopt

    Port of docopt to .net

  • winget-create

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

    Project mention: Automatically upgrade your package on winget with GitHub Actions | dev.to | 2021-11-13

    This workflow uses Windows Package Manager Manifest Creator to update and submit a new version of a package manifest

  • Typin

    Declarative framework for interactive CLI applications

  • SimplySerial

    A windows console application for serial communications.

    Project mention: Any Powershell Gurus Know if Powershell Can Replace PuTTY/Thonny/Arduino IDE as a Serial Terminal? | reddit.com/r/PowerShell | 2022-03-01

    If you have wsl you could use minicom, if not a quick search showed up SimplySerial.

  • CommandLine

    A console prompt for Unity. (by Butjok)

    Project mention: I created a command line tool with autocompletion and syntax highlighting for Unity - link in the comments | reddit.com/r/Unity3D | 2021-11-07

    https://github.com/Butjok/CommandLine It has a couple of cool features like autocompletion, history, syntax highlighting and a few more.

  • run-hidden

    run-hidden allows running console apps with hidden console window.

    Project mention: s/bash/zsh/g | news.ycombinator.com | 2021-10-20
  • SmartThingsTerminal

    SmartThings Terminal is a cross platform CLI tool for the SmartThings API - interact with your smart home from the command line.

  • Heimdallr

    Heimdall is a stateless password manager / generator. (by AMEST)

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). The latest post mention was on 2022-05-18.

C# Command-line related posts


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

Project Stars
1 PowerShell 33,641
2 N_m3u8DL-CLI 8,276
3 Command Line Parser 3,440
4 command-line-api 2,692
5 CommandLineUtils 1,915
6 CliWrap 1,769
7 Cocona 1,523
8 mpv.net 1,348
9 CliFx 1,138
10 Towel 529
11 Sharprompt 414
12 CommandDotNet 401
13 Docopt 295
14 winget-create 220
15 Typin 190
16 SimplySerial 49
17 CommandLine 29
18 run-hidden 23
19 SmartThingsTerminal 14
20 Heimdallr 1
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives