Command-line tools written in Rust have completely transformed the terminal experience for developers in recent years. Thanks to their outstanding performance, memory safety, and modern user experience, Rust CLI tools are becoming the go-to choice for developers.
Today, I’m going to introduce you to 10 emerging Rust CLI tools worth watching in 2026. They’ll significantly boost your command-line productivity.
1. Yazi - Lightning-Fast Terminal File Manager
GitHub: https://github.com/sxyazi/yazi
Yazi is an async I/O-based terminal file manager that’s incredibly fast and feature-rich.
# Install
cargo install yazi-fm yazi-cli
# Or use a package manager
brew install yazi
Key Features: - Async I/O operations, no lag when loading large directories - Built-in image preview support - Vim-style keybindings - Highly customizable Lua configuration
-- ~/.config/yazi/init.lua
return {
manager = {
show_hidden = true,
sort_by = "mtime",
},
}
2. Atuin - Magical Shell History
GitHub: https://github.com/atuinsh/atuin
Atuin stores your shell history in a SQLite database and supports cross-device synchronization.
# Install
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
# Initialize (add to ~/.bashrc or ~/.zshrc)
eval "$(atuin init bash)"
Key Features: - Encrypted sync of shell history to the cloud - Powerful fuzzy search - Command usage frequency statistics - Multi-device sync support
# Search history
atuin search --keyword docker
# View statistics
atuin stats
3. Zoxide - Smarter cd Command
GitHub: https://github.com/ajeetdsouza/zoxide
zoxide is an intelligent directory jumping tool that learns your habits and automatically recommends frequently used directories.
# Install
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
# Initialize
zoxide init bash --cmd cd >> ~/.bashrc
Key Features: - Smart directory recommendations based on usage frequency - Fuzzy matching support - Faster than the z command - Supports all major shells
# Jump to a frequent directory
z documents # jumps to ~/documents
# Fuzzy search directories
zi doc # interactive search for directories containing "doc"
4. Dust - More Intuitive Disk Usage Analysis
GitHub: https://github.com/bootandy/dust
dust is a modern alternative to the du command, displaying disk usage as a tree map.
# Install
cargo install du-dust
# Or use a package manager
brew install dust
Key Features: - Visual tree map display - Automatically ignores hidden files and git directories - Color-coded output for easy identification of large files - Several times faster than du
# Analyze current directory
dust
# Analyze specified directory, show top 20
dust -n 20 /home
# Show percentages
dust -p
5. Eza - Modern ls Alternative
GitHub: https://github.com/eza-community/eza
eza is a modern replacement for the ls command, offering rich color and icon support.
# Install
cargo install eza
# Or use a package manager
brew install eza
Key Features: - Rich colors and highlighting - Nerd Fonts icon support - Git status integration - Tree view
# Detailed list with icons
eza -lah --icons
# Tree view
eza --tree -L 2
# Git status
eza -lah --git
Add aliases to your shell config:
alias ls='eza'
alias ll='eza -lah'
alias lt='eza --tree'
6. Rip - Safe rm Alternative
GitHub: https://github.com/nivekuil/rip
rip is a safe file deletion tool that moves files to the system trash instead of permanently deleting them.
# Install
cargo install rip
# Usage
rip file.txt
Key Features: - Moves files to the trash - Supports restoring deleted files - Compatible with all major operating systems - Prevents accidental data loss
# Delete file (recoverable)
rip important.txt
# List trash
rip --list
# Restore file
rip --restore important.txt
7. Ouch - Painless Compression and Decompression
GitHub: https://github.com/ouch-org/ouch
ouch is a simple and easy-to-use compression and decompression tool that supports multiple formats.
# Install
cargo install ouch
# Decompress file
ouch decompress archive.zip
# Compress file
ouch compress file.txt archive.zip
Key Features: - Unified command interface - Supports zip, tar, gz, bz2, xz, and more - Auto-detects compression format - Clean output messages
# Decompress (auto-detect format)
ouch d archive.tar.gz
# Compress to zip
ouch c file1.txt file2.txt output.zip
# Compress to tar.gz
ouch c folder/ archive.tar.gz
8. Bat - cat with Syntax Highlighting
GitHub: https://github.com/sharkdp/bat
bat is an enhanced version of the cat command, providing syntax highlighting and Git integration.
# Install
cargo install bat
# Or use a package manager
brew install bat
Key Features: - Syntax highlighting for many languages - Git change display - Line numbers - Automatic paging
# View file (with highlighting)
bat src/main.rs
# Show all files (including non-text)
bat -A config.yml
# View Git changes
bat --diff-changes file.py
9. Sniffnet - Network Traffic Monitor
GitHub: https://github.com/GyulyVGC/sniffnet
sniffnet is a cross-platform network traffic monitoring tool that provides an intuitive real-time view.
# Install
cargo install sniffnet
# Run (requires sudo)
sudo sniffnet
Key Features: - Real-time network traffic monitoring - Traffic classification by application - Connection geolocation display - Detailed statistics
Use Cases: - Monitor application network activity - Detect abnormal connections - Analyze bandwidth usage
10. Procs - Modern Process Monitor
GitHub: https://github.com/dalance/procs
procs is a modern replacement for the ps command, offering colored output and better readability.
# Install
cargo install procs
# Run
procs
Key Features: - Colored output for easy reading - Smart column width adjustment - Search and filter capabilities - Tree view showing process relationships
# View all processes
procs
# Search for specific process
procs docker
# Tree view
procs --tree
# Custom columns
procs -c pid,cpu,mem,command
Performance Comparison
Here’s a performance comparison of some tools against their traditional counterparts:
| Tool | Traditional Alternative | Speed Improvement |
|---|---|---|
| dust | du | 3-5x |
| eza | ls | 2-3x |
| procs | ps | 1.5-2x |
| ripgrep | grep | 5-10x |
| fd | find | 3-5x |
Installation Recommendations
For most tools, we recommend the following installation methods:
macOS:
brew install yazi atuin zoxide dust eza bat procs
Linux (Ubuntu/Debian):
# Install using cargo
cargo install yazi-fm atuin zoxide du-dust eza bat procs
# Or use your distribution's package manager
sudo apt install bat # some tools already have packages
Windows:
# Use winget
winget install eza
winget install sharkdp.bat
# Or use cargo
cargo install yazi-fm atuin zoxide
Configuration Tips
Add the following configuration to your shell profile (~/.bashrc or ~/.zshrc):
# Aliases
alias ls='eza --icons'
alias ll='eza -lah --icons'
alias cat='bat'
alias rm='rip'
alias du='dust'
alias ps='procs'
# Auto-completion
if command -v atuin &> /dev/null; then
eval "$(atuin init bash)"
fi
if command -v zoxide &> /dev/null; then
eval "$(zoxide init bash)"
fi
Summary
These Rust CLI tools not only deliver exceptional performance but also provide a modern user experience. Their common characteristics include:
- Fast - Leveraging Rust’s performance advantages
- Secure - Memory-safe, reducing crashes
- User-friendly - Intuitive output and sensible defaults
- Customizable - Rich configuration options
- Cross-platform - Support for Linux, macOS, and Windows
Start using these tools and take your command-line productivity to the next level!
Related Resources: - Rust Official Documentation - Awesome Rust CLI Tools List - Rust Tool Installation Guide