SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Command-line Open-Source Projects
-
Windows Terminal
The new Windows Terminal and the original Windows console host, all in the same place!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
winget-cli
WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
-
GoAccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Deleting Software I Wrote Upon Leaving Employment of a Company | news.ycombinator.com | 2024-03-15> convince management of the value
This presupposes that such convincing is even possible. Many, many companies have leadership that are simply terrible at identifying value. If you've never been part of a majority of developers advocating for, if not outright begging for, some huge ROI initiative to get the green light, you are very fortunate.
There are great counterexamples, like Valve, which is known for giving developers an extreme degree of autonomy, and they benefit greatly from that approach. For each Valve, though, there are dozens of companies that manage to succeed despite themselves.
Take Microsoft, for example. One tiny, yet representative, example: the way the Windows Terminal team handled a suggestion from Casey Muratori to take their software from abysmally slow to lightning fast:
https://github.com/microsoft/terminal/issues/10362
A quote from one of the Terminal developers, dismissing the suggestion:
> I believe what you’re doing is describing something that might be considered an entire doctoral research project in performant terminal emulation as “extremely simple” somewhat combatively…
Just how difficult was such an endeavor in actuality? Well, given that Casey implemented his own terminal emulator from scratch and incorporated the functionality he was proposing in a mere weekend... not a whole lot. Relatively minor effort for a huge return on investment. It took Casey explaining the concepts, then providing a working proof of concept, and finally a bunch of backlash online towards the Terminal team to get them to do the right thing for themselves and their users.
Maybe this already helps: https://github.com/tldr-pages/tldr
That’s the same as bat:[1] one of the features is syntax highlighting. Kind of unexpected to find a concatenation program… which also does that.
[1] https://github.com/sharkdp/bat
ripgrep - https://github.com/BurntSushi/ripgrep
msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
Project mention: Understanding Nginx: From Simple Concepts to Technical Details and Deploying securely with PM2 and Certbot | dev.to | 2024-05-02More pm2 commands here
curl https://cheat.sh/$1
We can use the flag with --date or -date, Go already does the automatic check. We can make our entire boilerplate with this approach, but let's make it a little easier and use the Cobra CLI package.
Project mention: Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1) | dev.to | 2024-03-16ripgrep: A super-fast file searcher. You can install it using your system's package manager (e.g., brew install ripgrep on macOS). fd: Another blazing-fast file finder. Installation instructions can be found here: https://github.com/sharkdp/fd
- Learning "modern" tools like ripgrep and fzf (There's a list here: https://github.com/ibraheemdev/modern-unix)
I've always wanted to build a CLI tool, and when I realized that you can build one using React with Ink, I converted my Python script into a CLI tool.
[Windows only]
I recently discovered Cmder:
https://cmder.app/
It's a portable console emulator and gives you the ability to "place your own executable files into the bin folder to be injected into your PATH" when it's run.
So far I've added:
jq
Project mention: A ‘Software Developer’ Knows Enough to Deliver Working Software Alone and in Teams | /r/programming | 2023-12-06It depends on the scale of the project but man, if you can't build a simple CRUD app in your preferred stack and deploy it in some fashion (even if it's just a binary posted on some website, kinda like Exa) then that's just disappointing...
GitHub
Project mention: Best practices for distributing and updating a Go CLI on Linux? | /r/golang | 2023-05-18Can you use a framework like urfavecli https://github.com/urfave/cli? This will auto-update every time it detects a new version from your CLI's GitHub repository
Project mention: Measuring startup and shutdown overhead of several code interpreters | dev.to | 2024-04-17Check out the official hyperfine Github repo
Inquirer.js is a handy tool for adding interactive prompts to your CLI.
Project mention: Say good bye to cd and hello Zoxide - the better and smarter cd command | dev.to | 2024-04-14
If you want a file full browser experience choose nnn: https://github.com/jarun/nnn . If you have a desktop file for Helix you can use the Gnome Files program to make all your programming language files open in Helix.
If one wants server-side metrics with a little more info than the author's "hacky little script", there's always goaccess [1], which functions in broadly the same way. I even use it with Firebase Hosting-hosted sites via [2] (which I wrote).
[1] http://goaccess.io/
[2] https://github.com/Silicon-Ally/gcp-clf
Command-line related posts
-
Referencing external Docker containers in .NET Aspire using the new custom resources API
-
PHP Doesn't Suck Anymore
-
Tview – Golang Terminal UI library with rich, interactive widgets
-
Neofetch: A command-line system information tool written in bash 3.2
-
Show HN: I've forked neofetch to keep it alive
-
Neofetch Has Been Archived
-
Migrate to React 19 with ast-grep
-
A note from our sponsor - SaaSHub
www.saashub.com | 4 May 2024
Index
What are some of the best open-source Command-line projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Windows Terminal | 93,573 |
2 | tldr | 48,494 |
3 | bat | 46,630 |
4 | ripgrep | 45,040 |
5 | PowerShell | 43,400 |
6 | PM2 | 40,733 |
7 | cheat.sh | 37,479 |
8 | cobra | 36,077 |
9 | fd | 31,668 |
10 | modern-unix | 29,788 |
11 | Ink | 25,811 |
12 | cmder | 25,564 |
13 | bubbletea | 24,316 |
14 | micro-editor | 23,903 |
15 | exa | 23,290 |
16 | winget-cli | 22,187 |
17 | urfave/cli | 21,662 |
18 | hyperfine | 20,020 |
19 | Inquirer.js | 19,393 |
20 | zoxide | 18,767 |
21 | fx | 18,509 |
22 | nnn | 18,203 |
23 | GoAccess | 17,523 |
Sponsored