Rust Command-line

Open-source Rust projects categorized as Command-line

Top 23 Rust Command-line Projects

Command-line
  1. bat

    A cat(1) clone with wings.

    Project mention: Effortlessly Manage Your Notes with my Bash Script Featuring FZF Integration! | dev.to | 2025-01-18

    bat (for enhanced preview in search)

  2. SaaSHub

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

    SaaSHub logo
  3. ripgrep

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

    Project mention: 17 Essential CLI Tools to Boost Developer Productivity | dev.to | 2025-01-02

    ripgrep

  4. fd

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

    Project mention: 17 Essential CLI Tools to Boost Developer Productivity | dev.to | 2025-01-02

    fd

  5. zoxide

    A smarter cd command. Supports all major shells.

    Project mention: 17 Essential CLI Tools to Boost Developer Productivity | dev.to | 2025-01-02

    zoxide

  6. exa

    A modern replacement for ‘ls’.

    Project mention: Eza: A modern, maintained replacement for ls | news.ycombinator.com | 2024-07-21

    I think they are not referring to ls, but to exa [0], which is not maintained anymore.

    [0]https://github.com/ogham/exa

  7. hyperfine

    A command-line benchmarking tool

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

    > On the flip side (making things more random as opposed to less), something that randomizes the initial stack pointer would be nice, as I've sometimes seen this go really, really wrong (renaming a binary from foo to foo_new made it run >1% slower!).

    This is something we do already. We set a `HYPERFINE_RANDOMIZED_ENVIRONMENT_OFFSET` environment variable with a random-length value: https://github.com/sharkdp/hyperfine/blob/87d77c861f1b6c761a...

  8. clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: Building a JavaScript Runtime in Rust powered by the Nova engine | dev.to | 2024-09-30

    Clap: Command-Line Argument Parser for Rust

  9. eza

    A modern alternative to ls

    Project mention: 17 Essential CLI Tools to Boost Developer Productivity | dev.to | 2025-01-02

    eza

  10. gping

    Ping, but with a graph

  11. broot

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

    Project mention: How Not to Learn Rust | news.ycombinator.com | 2024-12-30

    I adore writings like this, mistake is the wrong word, but we learn best from the experience of others esp where things did not work and why.

    BTW, this is from the author of Broot, the creative file explorer.

    https://github.com/Canop/broot

    When we try so hard to appear successful and without mistake, it paints a distorted picture. The dead ends are where knowledge is made.

  12. onefetch

    Command-line Git information tool

    Project mention: Show HN: I've forked neofetch to keep it alive | news.ycombinator.com | 2024-05-01
  13. xsv

    A fast CSV command line toolkit written in Rust.

    Project mention: Shell Cacophony | dev.to | 2024-08-29

    qsv is a command-line tool to work with CSV files. It is the successor of xsv and is written in Rust. Current progress is quite impressive as qsv now has SQL and Lua support.

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

  17. dufs

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

    Project mention: A file server that supports static serving, uploading, access control, webdav | news.ycombinator.com | 2024-08-21
  18. oha

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

    Project mention: Measuring the Impact of Feature Flags in Ruby on Rails with AppSignal | dev.to | 2024-10-16

    Using the oha load testing tool, we can confirm that indeed half of the requests take one second longer than the others:

  19. miniserve

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

    Project mention: Bashbro – Make Any Comp a Web-Based File Server | news.ycombinator.com | 2024-07-08

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

    https://github.com/svenstaro/miniserve

  20. dog

    A command-line DNS client.

    Project mention: Release Radar · July 2024: Major updates from the open source community | dev.to | 2024-08-02

    We had to feature doggo, Bluey is an Australian National icon 🐶, and I'm Aussie after all. That aside, Doggo is a modern command line DNS client written in Golang. It outputs information in a concise manner, and supports DoH, DoT, DoQ, and DNSCrypt. It's not just called doggo for the Bluey fans and dog lovers, (even though doggos are the best, sorry cat people), it's inspired by dog written in Rust. Doggo is written in Go, so dog + go = doggo! Congratulations on shipping—and writing—your first DNS client 🥳.

  21. sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: SD: Intuitive find and replace CLI (sed alternative) | news.ycombinator.com | 2024-09-05
  22. watchexec

    Executes commands in response to file modifications

    Project mention: Watchexec: Execute commands in response to file modifications | news.ycombinator.com | 2024-08-06
  23. jnv

    Interactive JSON filter using jq

    Project mention: Show HN: jnv: Interactive JSON filter using jq [Release v0.3.0] | news.ycombinator.com | 2024-06-03
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

  • Mufeedvh/code2prompt:A CLI tool to convert your codebase in a single LLM prompt

    1 project | news.ycombinator.com | 16 Jan 2025
  • Ask HN: How do you load your code base as context window in ChatGPT?

    1 project | news.ycombinator.com | 7 Jan 2025
  • 17 Essential CLI Tools to Boost Developer Productivity

    16 projects | dev.to | 2 Jan 2025
  • Using ast-grep with a vue project

    1 project | dev.to | 31 Dec 2024
  • How Not to Learn Rust

    1 project | news.ycombinator.com | 30 Dec 2024
  • Matanuska ADR 002 - Architecture

    3 projects | dev.to | 18 Dec 2024
  • Code2prompt

    1 project | news.ycombinator.com | 16 Dec 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Jan 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 bat 50,646
2 ripgrep 49,790
3 fd 35,163
4 zoxide 24,314
5 exa 23,721
6 hyperfine 23,703
7 navi 15,378
8 clap-rs 14,610
9 eza 13,595
10 gping 11,142
11 broot 10,999
12 onefetch 10,628
13 xsv 10,464
14 hexyl 9,297
15 ast-grep 7,863
16 websocat 7,324
17 dufs 7,121
18 oha 7,148
19 miniserve 6,307
20 dog 6,248
21 sd 6,020
22 watchexec 5,529
23 jnv 5,246

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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