Rust Command-line

Open-source Rust projects categorized as Command-line

Top 23 Rust Command-line Projects

  • bat

    A cat(1) clone with wings.

    Project mention: Hired: A Modern Take on 'Ed' | | 2024-02-13

    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.


  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    Project mention: Ripgrep | | 2024-02-25

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • fd

    A simple, fast and user-friendly alternative to 'find'

    Project mention: Hyperfine: A command-line benchmarking tool | | 2024-02-06

    hyperfine is such a great tool that it's one of the first I reach for when doing any sort of benchmarking.

    I encourage anyone who's tried hyperfine and enjoyed it to also look at sharkdp's other utilities, they're all amazing in their own right with fd[1] being the one that perhaps get the most daily use for me and has totally replaced my use of find(1).


  • exa

    A modern replacement for ‘ls’.

    Project mention: A ‘Software Developer’ Knows Enough to Deliver Working Software Alone and in Teams | /r/programming | 2023-12-06

    It 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...

  • hyperfine

    A command-line benchmarking tool

    Project mention: Hyperfine: A command-line benchmarking tool | | 2024-02-06
  • zoxide

    A smarter cd command. Supports all major shells.

    Project mention: A smarter CD command. Supports all major shells | | 2024-02-14
  • 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.

  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: CLI Contexts | | 2023-12-27

    I recently came across this question (and associated answer) on the clap repository. The answer given is a good one. But I wanted to expand with my own findings and practices, which spurred the motivation for this post.

  • gping

    Ping, but with a graph

    Project mention: Free Tech Tools and Resources - Hardware Monitor, Offboarding Script, WiFi Scanner & More | /r/SysAdminBlogs | 2023-10-25

    gping is a souped-up version of the traditional ping utility that graphs network latency for multiple hosts as well as execution time for commands, with the option of custom colors. Our thanks for the suggestion go to fudgecakekistan.

  • xsv

    A fast CSV command line toolkit written in Rust.

    Project mention: Qsv: Efficient CSV CLI Toolkit | | 2023-12-22
  • broot

    A new way to see and navigate directory trees :

    Project mention: Use Midnight Commander like a pro (2015) | | 2024-01-21

    Take a look at broot

  • onefetch

    Command-line Git information tool

    Project mention: Onefetch: Command-line Git information tool written in Rust | | 2024-01-12
  • hexyl

    A command-line hex viewer

    Project mention: hexyl: A command-line hex viewer | /r/tty0 | 2023-06-16
  • websocat

    Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions

    Project mention: Show HN: ScaleSocket – Turn any script into a multiplayer WebSocket server | | 2023-09-20

    It's similar to running netcat in server mode, wrapping a script. It's even closer to doing that using websocat [1], whereby one does not have to do the websocket header juggling.

    The main difference is that while netcat or websocat will spawn a new process for each connecting client, ScaleSocket has a concept of rooms (channels). For a room, a process is spawned once only. All clients connecting to the same room are routed to the same process. This is not straight forward to do using the forementioned tools.

    There's a small comparison page [2] where I have mentioned some alternative tools.


  • dog

    A command-line DNS client.

    Project mention: DNS Toys | | 2024-01-06

    Dog is cross platform and has some nice features, like json output.

  • eza

    A modern, maintained replacement for ls

    Project mention: Potencializando Sua Experiência no Linux: Conheça as Ferramentas em Rust para um Desenvolvimento Eficiente | | 2023-12-12

    Encontre-o no repositório oficial:

  • miniserve

    🌟 For when you really just want to serve some files over HTTP right now!

    Project mention: Fastest Way to Serve Large Files | /r/linux_programming | 2023-06-13
  • ast-grep

    ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

    Project mention: How I build a chatbot for my OSS project, for free, without code! | | 2023-12-31

    ast-grep is a command-line tool that lets you search and transform code written in many programming languages using abstract syntax trees (ASTs). ASTs are data structures that capture the syntactic and semantic structure of source code. With ast-grep, you can write patterns as if you are writing ordinary code, and it will match all code that has the same syntactical structure. And if you need more power, you can use YAML, a rule system that allows you to write more sophisticated linting rules or code modifications.

  • sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: Essential Command Line Tools for Developers | | 2024-01-15

    View on GitHub

  • pastel

    A command-line tool to generate, analyze, convert and manipulate colors

  • watchexec

    Executes commands in response to file modifications

    Project mention: Watchexec ignore directory? | /r/linuxquestions | 2023-04-26

    Hi, I am using Watchexec ( to monitor folder changes, but I want to exclude some folders. What parameter should I use to perform the route exclusions?

  • dufs

    A file server that supports static serving, uploading, searching, accessing control, webdav...

    Project mention: Wddbfs – Mount a SQLite database as a filesystem | | 2024-02-18

    I'm with you on wishing WebDAV continued its rollout. These days there are great low-drama server-side deployments like It's run relative too - you could habe multiple dufs processes serving up different directories in different ways. But for WebDAV, you can't simply mount that on the client side for every OS that's equally low configutaion. For that reason, I really like sshfs as it can be initiated from the client-side without a lot of config (just a mkdir of the mapped dir), and it's OK most time despite it's lack of speed and multi-day uptime. I'm on a chromebook now and it turns out that Samba is the easiest client-side tech to use for remote file systems. DAv should've been uniquitous.

  • pueue

    :stars: Manage your shell commands.

    Project mention: Looking for a pueue debian maintainer | /r/debian | 2023-06-07

    there is a command line manager for long running tasks called Pueue. It is released into Nix, Arch, Alpine, Void, etc, but not for Debian based distros. I know that releasing into Debian is a bit more challenging, but I just wanted to ask if anybody here might be interested in packaging it. Just as a disclaimer, I am not the author of this project, just a regular user.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2024-02-25.

Rust Command-line related posts


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

Project Stars
1 bat 45,324
2 ripgrep 43,631
3 fd 30,897
4 exa 23,108
5 hyperfine 19,172
6 zoxide 15,944
7 navi 14,079
8 clap-rs 12,962
9 gping 10,127
10 xsv 9,953
11 broot 9,829
12 onefetch 8,852
13 hexyl 8,703
14 websocat 6,328
15 dog 5,696
16 eza 5,679
17 miniserve 5,435
18 ast-grep 5,274
19 sd 5,183
20 pastel 4,821
21 watchexec 4,651
22 dufs 4,200
23 pueue 4,189
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.