Rust CLI

Open-source Rust projects categorized as CLI

Top 23 Rust CLI Projects

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

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  3. ripgrep

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

    Project mention: How to combine rg with less in terminal | dev.to | 2025-01-30
  4. fd

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

    Project mention: Some Terminal Frustrations | news.ycombinator.com | 2025-02-09

    In case people were curious: https://github.com/sharkdp/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. 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...

  7. yazi

    💥 Blazing fast terminal file manager written in Rust, based on async I/O.

    Project mention: Switching Fully to Neovim | dev.to | 2025-02-05

    Additionally, I integrate several CLI tools into my work flow, such as lazygit for streamlined Git operations, yazi as a terminal file manager, tmux for session management, and lazydocker for handling Docker containers efficiently.

  8. spotify-tui

    Spotify for the terminal written in Rust 🚀

    Project mention: Spotify TUI: Spotify for the Terminal | news.ycombinator.com | 2024-06-30
  9. 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
  10. asciinema

    Terminal session recorder 📹

    Project mention: File Explorer is merged to Helix editor | news.ycombinator.com | 2025-01-24

    I agree. Capturing the interaction as a movie (like .mov file) makes it really difficult to understand what the user is doing. e.g. What keystrokes did the user press to finish this interaction. I wish folks would post screen grabs with tools like https://asciinema.org/ - this is what the helix-editor homepage uses to show the features. This is ideal for terminal apps.

    That said, I wish asciinema can also show the key strokes a an annotation with the ability for the viewer to pause on each keyboard interaction.

  11. hurl

    Hurl, run and test HTTP requests with plain text.

    Project mention: Sprint 2 - Picking Up the Pace | dev.to | 2025-02-13

    Add ip address to http::Response (Link)

  12. ratatui

    A Rust crate for cooking up terminal user interfaces (TUIs) 👨‍🍳🐀 https://ratatui.rs

    Project mention: Ratzilla | news.ycombinator.com | 2025-02-01

    I think this may lack a bit of context, so I'll try to fill in.

    This is a demo that was just showcased live by the author as part of their talk at FOSDEM'25: https://fosdem.org/2025/schedule/event/fosdem-2025-5496-brin...

    The talk was centered on Ratatui (a TUI library in Rust, https://ratatui.rs/) now targeting terminals and web browsers with a shared approach. Video recording of the talk should appear online soon.

  13. tokei

    Count your code, quickly.

    Project mention: Tokei: Count your code, quickly – CLOC in Rust | news.ycombinator.com | 2025-02-04
  14. gping

    Ping, but with a graph

  15. jj

    A Git-compatible VCS that is both simple and powerful

    Project mention: jj: A Git-compatible VCS that is both simple and powerful | news.ycombinator.com | 2025-02-11
  16. bottom

    Yet another cross-platform graphical process/system monitor.

    Project mention: Show HN: Bagels – TUI Expense Tracker | news.ycombinator.com | 2025-01-26

    lazydocker as well. Also a big fan of bottom (https://github.com/ClementTsang/bottom) , which surprisignly enough even though it has charts and everything, it consumes way fewer resources on my system compared to htop.

  17. onefetch

    Command-line Git information tool

    Project mention: Show HN: I've forked neofetch to keep it alive | news.ycombinator.com | 2024-05-01
  18. 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.

  19. Bandwhich

    Terminal bandwidth utilization tool

    Project mention: TUI for displaying current network utilization by PID, connection and remote IP | news.ycombinator.com | 2025-02-09
  20. genact

    🌀 A nonsense activity generator

    Project mention: 聊聊开源 - FAV0周刊#019 | dev.to | 2024-10-27
  21. gitoxide

    An idiomatic, lean, fast & safe pure Rust implementation of Git

    Project mention: Gitoxide – An idiomatic, lean, fast and safe pure Rust implementation of Git | news.ycombinator.com | 2025-01-22
  22. bore

    🕳 bore is a simple CLI tool for making tunnels to localhost

    Project mention: Bore is a tool for making tunnels to localhost | news.ycombinator.com | 2025-01-02
  23. 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:

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

  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 CLI discussion

Log in or Post with

Rust CLI related posts

  • Nping – ping, but with a graph or table view

    3 projects | news.ycombinator.com | 12 Feb 2025
  • Ouch: Painless Compression and Decompression in the Terminal

    1 project | news.ycombinator.com | 12 Feb 2025
  • JJ Cheat Sheet

    2 projects | news.ycombinator.com | 11 Feb 2025
  • jj: A Git-compatible VCS that is both simple and powerful

    4 projects | news.ycombinator.com | 11 Feb 2025
  • TUI for displaying current network utilization by PID, connection and remote IP

    1 project | news.ycombinator.com | 9 Feb 2025
  • Sad: CLI search and replace Age seD

    1 project | news.ycombinator.com | 8 Feb 2025
  • SD: Intuitive find and replace CLI (sed alternative)

    2 projects | news.ycombinator.com | 7 Feb 2025
  • A note from our sponsor - Nutrient
    www.nutrient.io | 16 Feb 2025
    Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries. Learn more →

Index

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

# Project Stars
1 bat 51,086
2 ripgrep 50,276
3 fd 35,539
4 zoxide 24,865
5 hyperfine 24,001
6 yazi 21,992
7 spotify-tui 17,841
8 navi 15,486
9 asciinema 14,667
10 hurl 14,054
11 ratatui 11,868
12 tokei 11,839
13 gping 11,249
14 jj 11,048
15 bottom 10,796
16 onefetch 10,678
17 xsv 10,515
18 Bandwhich 10,325
19 genact 9,998
20 gitoxide 9,477
21 bore 9,336
22 oha 7,481
23 websocat 7,392

Sponsored
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io

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