Rust Command Line Tool

Open-source Rust projects categorized as Command Line Tool

Top 23 Rust Command Line Tool Projects

  • ripgrep

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

    Project mention: Ask HN: What software sparks joy when using? | | 2024-04-17

    ripgrep -

  • zoxide

    A smarter cd command. Supports all major shells.

    Project mention: Say good bye to cd and hello Zoxide - the better and smarter cd command | | 2024-04-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.

  • gitui

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

    Project mention: GitUI | | 2024-01-07

    I was missing interactive rebase, as it is missing from libgit2

  • coreutils

    Cross-platform Rust rewrite of the GNU coreutils

    Project mention: Cross-platform Rust rewrite of the GNU coreutils | | 2024-01-02

    Not that it should represent the rubicon of when to/not to rewrite code, but when you do, you do trade one set of bugs for a new set of bugs:

  • 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

  • tokei

    Count your code, quickly.

    Project mention: XAMPPRocky/tokei: Count your code, quickly | | 2024-04-09
  • grex

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

    Project mention: grex 1.0.0 - Generate regular expressions from user-provided test cases | /r/Python | 2023-08-31
  • WorkOS

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

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


  • ast-grep

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

    Project mention: AST-grep(sg) AST grep based on Treesitter | | 2024-04-01
  • 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
  • pueue

    :stars: Manage your shell commands.

    Project mention: Sequential and parallel execution of long-running shell commands | | 2024-03-20

    You can probably do a good subset it in bash, it's just a nicer interface with a lot of configurability and several convenience features.

    I'm generally a big fan of showing alternatives:

    Would you be willing to write a proper guide on how to do all of these things in bash? It would be great to have this as guide an alternative inside the Pueue wiki and link to it. It'll help people to make a more informed decision on whether they need this tool or not.

  • trippy

    A network diagnostic tool

    Project mention: FLaNK Stack Weekly 11 Dec 2023 | | 2023-12-11
  • cargo-watch

    Watches over your Cargo project's source.

    Project mention: Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0 | | 2024-01-04

    I used cargo-watch here so that every time my source changes, the server will automatically restart and re-serve the updated code.

  • rq

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

  • 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: How can someone who has primarily worked in Web/Mobile development break into systems engineering? | /r/ExperiencedDevs | 2023-08-18

    The most substantial project that I have to show for my knowledge of the lower level topics is this project I work on in my spare-time called erdtree and I'm really banking on that to stand-in as "experience" in the absence of professional systems experience.

  • tidy-viewer

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

    Project mention: Csvlens: Command line CSV file viewer. Like less but made for CSV | | 2024-01-06
  • termscp

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

    Project mention: Termscp TUI terminal file transfer and explorer with support for SCP/SFTP/FTP/S3 | /r/commandline | 2023-04-30
  • httm

    Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even actual Time Machine backups!)

    Project mention: Is my open-source project up to date with MIT license compliance and attribution? | /r/opensource | 2023-12-11

    My projects and many projects include a THIRD-PARTY-LICENSES.html file when I distribute binaries. See:

  • t-rec-rs

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

    Project mention: Asciinema: Record and share your terminal sessions, the simple way | | 2023-11-03

    I tried asciinema and I forgot which others, but I eventually used t-rec because it’s able to easily compress to a small size file that I can upload to GitHub (see demo on here and it also creates mp4 filed that I can upload to loom etc.

  • fcp

    A significantly faster alternative to the classic Unix cp(1) command, copying large files and directories in a fraction of the time.

    Project mention: Fcp – a significantly faster alternative to the classic Unix cp(1) command | | 2023-08-31
  • lurk

    A pretty (simple) alternative to strace

  • halp

    A CLI tool to get help with CLI tools 🐙

  • argc

    A bash cli framework, also a task management & automation tool.

    Project mention: Argc: Easily create feature-rich CLIs in bash | | 2024-03-04
  • SaaSHub

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

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-04-17.

Rust Command Line Tool related posts


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

Project Stars
1 ripgrep 44,594
2 zoxide 18,117
3 gitui 16,946
4 coreutils 16,794
5 broot 10,019
6 tokei 9,913
7 grex 6,509
8 websocat 6,469
9 ast-grep 5,805
10 miniserve 5,559
11 pueue 4,546
12 trippy 2,989
13 cargo-watch 2,602
14 rq 2,252
15 erdtree 2,242
16 tidy-viewer 2,018
17 termscp 1,258
18 httm 1,194
19 t-rec-rs 947
20 fcp 721
21 lurk 675
22 halp 658
23 argc 628
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives