Rust Command-line

Open-source Rust projects categorized as Command-line

Top 23 Rust Command-line Projects

Command-line
  1. ripgrep

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

    Project mention: Zig, Rust, Go?! I tried 3 low-level languages and here’s what I’m sticking with | dev.to | 2025-08-28

    ripgrep (Rust project)

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. bat

    A cat(1) clone with wings.

    Project mention: Bat: Cat with Syntax Highlighting | news.ycombinator.com | 2025-07-04
  4. fd

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

    Project mention: Digging Through Linux: Must-Know Tools for File and Content Searches | dev.to | 2025-04-30

    fd GitHub

  5. zoxide

    A smarter cd command. Supports all major shells.

    Project mention: Tmux-Rs | news.ycombinator.com | 2025-07-03

    Apparently it is a thing.

    https://github.com/ajeetdsouza/zoxide

    Well I never.

  6. hyperfine

    A command-line benchmarking tool

    Project mention: Writing SIMD in Crystal with Inline Assembly | dev.to | 2025-08-06

    Benchmarking tool: hyperfine

  7. exa

    A modern replacement for ‘ls’.

  8. eza

    A modern alternative to ls

    Project mention: Stop struggling with Rust CLI tool installs: the only guide you need (Mac, Linux, Windows) | dev.to | 2025-06-19

    eza GitHub Modern replacement for ls

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: Rust CLIs with Clap | news.ycombinator.com | 2025-06-30

    Seems unfair. Version 4 was almost 3 years ago and and I can't recall any issue in that time.

    Major versions have good quality migration guides. If only all libraries were developed with such professionalism.

    https://github.com/clap-rs/clap/blob/v4.5.0/CHANGELOG.md

  11. gping

    Ping, but with a graph

  12. broot

    A new way to see and navigate directory trees : https://dystroy.org/broot

    Project mention: Code. Bash arguments: last and all previous | dev.to | 2025-01-19

    Originally, I was looking for a way to open files from broot file manager. By design, broot pauses while the file is opened - so it is not particularly comfortable (I mean, possible) to open several files at once. But we can instruct broot to open files with an arbitrary script, in which we can run target command in a background (see nohup and disown at the bottom).

  13. onefetch

    Command-line Git information tool

  14. hexyl

    A command-line hex viewer

    Project mention: Hyperfine: A command-line benchmarking tool | news.ycombinator.com | 2024-11-18

    Perhaps interesting (for some) to note that hyperfine is from the same author as at least a few other "ne{w,xt} generation" command line tools (that could maybe be seen as part of "rewrite it in Rust", but I don't want to paint the author with a brush they disagree with!!): fd (find alternative; https://github.com/sharkdp/fd), bat ("supercharged version of the cat command"; https://github.com/sharkdp/bat), and hexyl (hex viewer; https://github.com/sharkdp/hexyl). (And certainly others I've missed!)

    Pointing this out because I myself appreciate comments that do this.

    For myself, `fd` is the one most incorporated into my own "toolbox" -- used it this morning prior to seeing this thread on hyperfine! So, thanks for all that, sharkdp if you're reading!

    Ok, end OT-ness.

  15. ast-grep

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

    Project mention: Using ast-grep with a vue project | dev.to | 2024-12-31

    The amazing ast-grep tool does not support vue and scss by default but can be configured to do so.

  16. oha

    Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation.

    Project mention: Oha: a Rust-based HTTP load generator | news.ycombinator.com | 2025-05-06
  17. dufs

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

    Project mention: Debugging Data Pipelines: From Memory to File with WebDAV | dev.to | 2025-05-03

    Using dufs:

  18. websocat

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

    Project mention: Creating a Websocket server in Hono with Durable Objects | dev.to | 2024-09-02

    Having both Worker and Durable Object in place, you can now try running the application (wrangler dev) and connecting to the Websocket route /ws with a Websocket client like websocat: websocat --verbose ws://localhost:8787/ws You should see a response like this indicating that the connection has been established succesfully:

  19. miniserve

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

    Project mention: Simple Web Server | news.ycombinator.com | 2025-04-14

    [1]: https://github.com/svenstaro/miniserve

  20. dog

    A command-line DNS client.

  21. sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: Intuitive find and replace CLI (sed alternative) | news.ycombinator.com | 2025-09-01
  22. code2prompt

    A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

    Project mention: Revolutionizing LLM Interactions: Code2Prompt – Your Code's New AI Assistant | dev.to | 2025-06-29

    View the Project on GitHub

  23. watchexec

    Executes commands in response to file modifications

    Project mention: Watchfiles: Simple, modern and fast file watching for Python, written in Rust | news.ycombinator.com | 2025-07-08
  24. pastel

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

  25. 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).

Rust Command-line discussion

Log in or Post with

Rust Command-line related posts

  • Intuitive find and replace CLI (sed alternative)

    1 project | news.ycombinator.com | 1 Sep 2025
  • Bringing the Helix editor to the evil side

    1 project | news.ycombinator.com | 19 Aug 2025
  • Claude Sonnet 4 vs Kimi K2 vs Gemini 2.5 Pro: Which AI actually ships production code?⛵

    1 project | dev.to | 13 Aug 2025
  • Rust-parallel: Run commands in parallel and aggregate outputs, like GNU parallel

    1 project | news.ycombinator.com | 12 Aug 2025
  • Forge v0.98.0: Integrated Authentication and Developer Experience Improvements

    1 project | dev.to | 10 Jul 2025
  • Bat: Cat with Syntax Highlighting

    1 project | news.ycombinator.com | 4 Jul 2025
  • rsql: Your Universal Command-Line SQL Interface

    1 project | dev.to | 3 Jul 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 Sep 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 Rust? This list will help you:

# Project Stars
1 ripgrep 54,892
2 bat 54,174
3 fd 39,377
4 zoxide 29,212
5 hyperfine 26,010
6 exa 24,119
7 eza 17,067
8 navi 16,127
9 clap-rs 15,442
10 gping 11,933
11 broot 11,689
12 onefetch 11,188
13 hexyl 9,783
14 ast-grep 9,579
15 oha 8,800
16 dufs 8,710
17 websocat 7,960
18 miniserve 6,952
19 dog 6,476
20 sd 6,462
21 code2prompt 6,446
22 watchexec 6,297
23 pastel 5,868

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?