Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Top 23 Rust Command Line Tool Projects
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19I'm sure you can get creative. :-) You can set an environment variable to control the encoding, expose a flag or any one of a number of other things to control the encoding.
You've also continued to ignore my most substantive rebuttal: that a specific example where ripgrep is not compatible with grep or doesn't behave the same doesn't mean it can't be used in shell pipelines. Literally nothing you've said has invalidated anything I've said. All you're doing is finding things that some implementations of grep can do that ripgrep (intentionally) cannot do in exactly the same way. But that's fine, because ripgrep was never, isn't and will never be compatible with grep: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
So if you need grep compatibility get a fucking clue and just use grep.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
zoxide
-
Project mention: Oxidizing Ubuntu: adopting Rust utilities by default | news.ycombinator.com | 2025-03-21
-
Project mention: Gitui release 0.27 adds simple management of remotes | news.ycombinator.com | 2025-01-15
-
Whenever I find an interesting project on GitHub, I usually clone the repository and run tokei to check how many lines of code it has. It gives me a rough idea of the project's scale and complexity. (Subjective, of course!)
-
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).
-
The amazing ast-grep tool does not support vue and scss by default but can be configured to do so.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
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:
-
grex
A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
-
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
-
-
code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
🚀 https://github.com/mufeedvh/code2prompt
-
Another interesting tool in this space is trippy, which ‘combines the functionality of traceroute and ping’
https://github.com/fujiapple852/trippy
-
I use television (https://github.com/alexpasmantier/television) with shell integration
so basically I end up doing ctrl-r, then fuzzy find the command and run it
-
erdtree
A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.
Wrong erd! https://github.com/solidiquis/erdtree
This looks really cool, though. I might try using this as an `ls` replacement, too, just because of how it shows the recursive directory size like `du`. I've always wished windows explorer did that (do any linux gui file managers?)
-
-
tidy-viewer
📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.
-
termscp
🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB
-
-
httm
Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even Time Machine and Restic backups!)
Project mention: Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 | news.ycombinator.com | 2024-07-20 -
Project mention: A super fast CLI tool to decode and encode JWTs built in Rust | news.ycombinator.com | 2024-12-01
-
-
t-rec-rs
Blazingly fast terminal recorder that generates animated gif images for the web written in rust
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Command Line Tool discussion
Rust Command Line Tool related posts
-
I stopped everything and started writing C again
-
Carefully but Purposefully Oxidising Ubuntu
-
Nping – ping, but with a graph or table view
-
Rust Implementation Guide - from efficient learning to implementation
-
Gitui release 0.27 adds simple management of remotes
-
Television: Fast general purpose fuzzy finder TUI
-
Qcp: QUIC Remote File Copy
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 25 Mar 2025
Index
What are some of the best open-source Command Line Tool projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | ripgrep | 51,176 |
2 | zoxide | 25,469 |
3 | coreutils | 19,433 |
4 | gitui | 19,268 |
5 | tokei | 12,084 |
6 | broot | 11,165 |
7 | ast-grep | 8,350 |
8 | websocat | 7,488 |
9 | grex | 7,430 |
10 | miniserve | 6,476 |
11 | pueue | 5,495 |
12 | code2prompt | 5,151 |
13 | trippy | 4,348 |
14 | television | 2,574 |
15 | erdtree | 2,443 |
16 | rq | 2,283 |
17 | tidy-viewer | 2,083 |
18 | termscp | 1,983 |
19 | fastmod | 1,724 |
20 | httm | 1,450 |
21 | jwt-cli | 1,270 |
22 | sshs | 1,121 |
23 | t-rec-rs | 1,070 |