Rust Command Line Tool

Open-source Rust projects categorized as Command Line Tool

Top 23 Rust Command Line Tool Projects

Command Line Tool
  1. 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-19

    I'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.

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

    CodeRabbit logo
  3. 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

  4. coreutils

    Cross-platform Rust rewrite of the GNU coreutils

    Project mention: Oxidizing Ubuntu: adopting Rust utilities by default | news.ycombinator.com | 2025-03-21
  5. gitui

    Blazing 💥 fast terminal-ui for git written in rust 🦀

    Project mention: Gitui release 0.27 adds simple management of remotes | news.ycombinator.com | 2025-01-15
  6. tokei

    Count your code, quickly.

    Project mention: Building My First Web App with the Help of AI | dev.to | 2025-03-23

    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!)

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

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

  9. SaaSHub

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

    SaaSHub logo
  10. 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:

  11. grex

    A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

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

  13. pueue

    :stars: Manage your shell commands.

  14. code2prompt

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

    Project mention: All Data and AI Weekly #177 - 17-Feb-2025 | dev.to | 2025-02-17

    🚀 https://github.com/mufeedvh/code2prompt

  15. trippy

    A network diagnostic tool

    Project mention: Nping – ping, but with a graph or table view | news.ycombinator.com | 2025-02-12

    Another interesting tool in this space is trippy, which ‘combines the functionality of traceroute and ping’

    https://github.com/fujiapple852/trippy

  16. television

    A cross-platform, fast and extensible general purpose fuzzy finder TUI 📺

    Project mention: Trick to find commands in the terminal quickly | news.ycombinator.com | 2025-02-16

    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

  17. erdtree

    A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.

    Project mention: Rewriting essential Linux packages in Rust | news.ycombinator.com | 2025-03-09

    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?)

  18. rq

    Record Query - A tool for doing record analysis and transformation (by dflemstr)

  19. tidy-viewer

    📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

  20. termscp

    🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB

  21. fastmod

    A fast partial replacement for the codemod tool

    Project mention: Refactoring Python with Tree-sitter and Jedi | news.ycombinator.com | 2024-09-27
  22. 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
  23. jwt-cli

    A super fast CLI tool to decode and encode JWTs built in Rust

    Project mention: A super fast CLI tool to decode and encode JWTs built in Rust | news.ycombinator.com | 2024-12-01
  24. sshs

    Terminal user interface for SSH

  25. t-rec-rs

    Blazingly fast terminal recorder that generates animated gif images for the web written in rust

  26. 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 Tool discussion

Log in or Post with

Rust Command Line Tool related posts

  • I stopped everything and started writing C again

    6 projects | news.ycombinator.com | 12 Mar 2025
  • Carefully but Purposefully Oxidising Ubuntu

    4 projects | news.ycombinator.com | 13 Mar 2025
  • Nping – ping, but with a graph or table view

    3 projects | news.ycombinator.com | 12 Feb 2025
  • Rust Implementation Guide - from efficient learning to implementation

    13 projects | dev.to | 19 Jan 2025
  • Gitui release 0.27 adds simple management of remotes

    1 project | news.ycombinator.com | 15 Jan 2025
  • Television: Fast general purpose fuzzy finder TUI

    3 projects | news.ycombinator.com | 9 Jan 2025
  • Qcp: QUIC Remote File Copy

    1 project | news.ycombinator.com | 6 Jan 2025
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 25 Mar 2025
    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 →

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

Sponsored
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.
coderabbit.ai

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