Rust has become the go-to language for systems programming and command-line tool development, thanks to its memory safety, high performance, and excellent concurrency model. In 2026, the open-source community is flooded with fantastic Rust-powered CLI tools that not only deliver blazing performance but also offer a user experience far beyond traditional alternatives.
Today we're counting down 10 Rust CLI gems that deserve a spot in your workflow — each one capable of doubling your terminal productivity.
1. ripgrep (rg) — Lightning-Fast Code Search
GitHub: https://github.com/BurntSushi/ripgrep
ripgrep is an extremely fast grep alternative optimized for code search, automatically ignoring files listed in .gitignore.
Key Features:
- 3–10× faster than grep
- Automatically respects .gitignore
- Supports regex and PCRE2
- Smart case matching
- Colored output with line numbers
Installation:
# macOS
brew install ripgrep
# Ubuntu/Debian
sudo apt install ripgrep
# Arch Linux
sudo pacman -S ripgrep
# Via Cargo
cargo install ripgrep
Usage Examples:
# Search for lines containing "TODO"
rg TODO
# Search within a specific file type
rg --type rust "fn main"
# Show context lines
rg -C 3 "error handling"
# Count matches
rg --count "TODO" src/
2. fd — Simple and Fast File Finder
GitHub: https://github.com/sharkdp/fd
fd is a modern alternative to the find command, offering an intuitive interface and outstanding performance.
Key Features:
- Color-coded output for easy reading
- Ignores .gitignore patterns by default
- Regex-based search
- Smart case sensitivity handling
- Parallelized search for blazing speed
Installation:
# macOS
brew install fd
# Ubuntu/Debian
sudo apt install fd-find
# Arch Linux
sudo pacman -S fd
# Via Cargo
cargo install fd-find
Usage Examples:
# Find all .rs files
fd "\.rs$"
# Search for files containing "test"
fd test
# Search within a specific directory
fd config ~/projects/
# Execute a command on each result
fd "\.jpg$" --exec convert {} {}.png
3. bat — Cat with Syntax Highlighting
GitHub: https://github.com/sharkdp/bat
bat is a modern take on cat, featuring syntax highlighting, Git integration, and automatic paging.
Key Features:
- Automatic syntax highlighting (100+ languages)
- Git integration (shows modified lines)
- Automatic paging via less
- Displays non-printable characters
- Customizable themes
Installation:
# macOS
brew install bat
# Ubuntu/Debian
sudo apt install bat
# Arch Linux
sudo pacman -S bat
# Via Cargo
cargo install bat
Usage Examples:
# View a file with highlighting
bat src/main.rs
# Show all line numbers
bat -n config.yaml
# Show non-printable characters
bat -A file.txt
# Specify language
bat -l python script.py
# Compare files side by side
bat file1.txt file2.txt
4. dust — Visual Disk Usage Analyzer
GitHub: https://github.com/bootandy/dust
dust is a modern replacement for du, presenting disk usage in an intuitive tree map format.
Key Features: - Tree-based visualization - Color-coded bars showing proportions - Fast scanning of large directories - Sortable by size - Terminal-friendly interface
Installation:
# macOS
brew install dust
# Ubuntu/Debian
sudo apt install dust
# Arch Linux
sudo pacman -S dust
# Via Cargo
cargo install du-dust
Usage Examples:
# Analyze current directory
dust
# Analyze a specific directory
dust /home/kevin/projects
# Show the 20 largest entries
dust -n 20
# Display in reverse order
dust -r
# Hide percentage bars
dust -b
5. eza — Modern ls Replacement
GitHub: https://github.com/eza-community/eza
eza (formerly exa) is a modern replacement for ls, featuring Git integration, tree views, and rich color support.
Key Features: - Git status integration - Tree directory view - Detailed file information - Rich color themes - Icon support (requires Nerd Font)
Installation:
# macOS
brew install eza
# Ubuntu/Debian
sudo apt install eza
# Arch Linux
sudo pacman -S eza
# Via Cargo
cargo install eza
Usage Examples:
# List view with icons
eza -l --icons
# Tree view
eza --tree
# With Git status
eza -l --git
# Human-readable file sizes
eza -lh
# Sort by modification time
eza -l --sort=modified
Alias Configuration (~/.bashrc or ~/.zshrc):
alias ls='eza'
alias ll='eza -lh'
alias la='eza -lha'
alias tree='eza --tree'
6. tldr — Simplified Man Pages
GitHub: https://github.com/tldr-pages/tldr
tldr provides simplified command documentation, showing only the most common usage examples so you can get started quickly.
Key Features: - Concise, practical examples - Community-maintained command library - Available offline - Multi-language support - Open to contributions
Installation:
# macOS
brew install tldr
# Ubuntu/Debian
sudo apt install tldr
# Via npm
npm install -g tldr
# Via Cargo
cargo install tldr
Usage Examples:
# View examples for a command
tldr tar
# Update local cache
tldr --update
# Random command
tldr --random
# Search for a command
tldr --find compression
# View platform-specific examples
tldr tar --platform linux
7. just — Modern Make Alternative
GitHub: https://github.com/casey/just
just is a command runner similar to make, but with cleaner syntax — purpose-built for developer tasks.
Key Features: - Clean justfile syntax - Autocomplete support - Parameter and dependency management - Cross-platform compatibility - No Makefile complexity
Installation:
# macOS
brew install just
# Ubuntu/Debian
sudo apt install just
# Arch Linux
sudo pacman -S just
# Via Cargo
cargo install just
Sample justfile:
# Build the project
build:
cargo build --release
# Run tests
test:
cargo test
# Format code
fmt:
cargo fmt
# Full check
check: build test
echo "✅ All checks passed"
# Command with parameters
deploy environment:
echo "Deploying to {{environment}}"
./deploy.sh {{environment}}
Usage Examples:
# List available commands
just --list
# Run a command
just build
just test
# Run with arguments
just deploy production
8. hyperfine — Command-Line Benchmarking Tool
GitHub: https://github.com/sharkdp/hyperfine
hyperfine is a benchmarking tool for the command line, letting you compare the performance of different commands.
Key Features: - Statistical significance analysis - Automatic warm-up runs - Export to multiple formats (JSON, CSV, Markdown) - Parallel benchmarking - Detailed statistical reports
Installation:
# macOS
brew install hyperfine
# Ubuntu/Debian
sudo apt install hyperfine
# Arch Linux
sudo pacman -S hyperfine
# Via Cargo
cargo install hyperfine
Usage Examples:
# Compare two commands
hyperfine 'rg "pattern" file.txt' 'grep "pattern" file.txt'
# Specify number of runs
hyperfine -n 10 'sleep 0.1'
# Warm-up runs
hyperfine --warmup 3 'cargo build'
# Export results
hyperfine --export-json results.json 'command'
# Parameterized tests
hyperfine 'sleep {1..5}'
9. starship — Minimal, Cross-Shell Prompt
GitHub: https://github.com/starship/starship
starship is a fast, highly customizable, cross-shell prompt that works with all major terminals and shells.
Key Features: - Cross-shell support (bash, zsh, fish, PowerShell, etc.) - Automatic project type detection - Rich information display (Git, Node, Python, Rust, etc.) - Highly customizable - Blazing fast (<1ms render time)
Installation:
# macOS
brew install starship
# Ubuntu/Debian
sudo apt install starship
# Arch Linux
sudo pacman -S starship
# Via Cargo
cargo install starship
Configuration Example (~/.config/starship.toml):
# Custom format
format = """
$directory$git_branch$git_status$package$python$rust$nodejs$jobs$character"""
# Git branch display
[git_branch]
format = "[$symbol$branch]($style) "
style = "bold green"
# Prompt character
[character]
success_symbol = "[❯](bold green)"
error_symbol = "[❯](bold red)"
Shell Setup:
# ~/.bashrc or ~/.zshrc
eval "$(starship init bash)" # or zsh/fish/powershell
10. bottom (btm) — Cross-Platform System Monitor
GitHub: https://github.com/ClementTsang/bottom
bottom is a cross-platform system monitoring tool with an intuitive graphical interface for tracking CPU, memory, network, and processes.
Key Features: - Real-time resource monitoring graphs - Process list and resource rankings - Highly customizable layout - Cross-platform support - Low resource footprint
Installation:
# macOS
brew install bottom
# Ubuntu/Debian
sudo apt install bottom
# Arch Linux
sudo pacman -S bottom
# Via Cargo
cargo install bottom
Usage Examples:
# Start monitoring
btm
# Set refresh interval
btm --rate 2000
# Use a custom config
btm --config ~/.config/bottom/bottom.toml
Tool Comparison Summary
| Tool | Purpose | Traditional Alternative | Performance Advantage |
|---|---|---|---|
| ripgrep | Code search | grep | 3–10× faster |
| fd | File search | find | Parallel search |
| bat | File viewing | cat | Syntax highlighting |
| dust | Disk analysis | du | Visual display |
| eza | Directory listing | ls | Git integration |
| tldr | Command manual | man | Concise examples |
| just | Task runner | make | Cleaner syntax |
| hyperfine | Benchmarking | time | Statistical analysis |
| starship | Terminal prompt | Default prompt | Cross-platform |
| bottom | System monitor | htop | Graphical UI |
Why Choose Rust CLI Tools?
- Memory Safety: Rust's ownership system eliminates memory leaks and data races
- High Performance: Compiled to native code, approaching C/C++ speeds
- Cross-Platform: Compile once, run anywhere
- Low Resource Footprint: No runtime dependencies, fast startup
- Active Community: Continuous updates, quick bug fixes
- Free and Open Source: Completely free, no commercial restrictions
Installing Rust and Cargo
If you haven't installed Rust yet, here's the quickest way to get started:
# Official installer (recommended)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Verify installation
rustc --version
cargo --version
# Update Rust
rustup update
Start Your Rust CLI Journey
All 10 tools listed above are community-verified projects in 2026. I recommend starting with the ones you'll use most:
Recommended Starter Pack: - 🚀 Daily productivity: eza + bat + starship (terminal experience upgrade) - 🔍 Code development: ripgrep + fd + just (search, find, task running) - 📊 System analysis: bottom + dust + hyperfine (monitor, analyze, benchmark)
Advanced Setup: - Install them all and build your ultimate Rust CLI workflow
The real value of these tools lies in actually using them. Pick one and start today!
Related Links: