--- name: cli-tools description: Prefer modern Rust-based CLI tools over traditional Unix utilities. Use when suggesting commands or writing scripts. metadata: globs: "" --- # Modern CLI Tools (Prefer Rust alternatives) Always prefer these modern Rust-based tools over traditional Unix utilities. These tools are cross-platform (macOS + Linux) and available via Homebrew or Cargo: | Traditional | Modern (Rust) | Notes | | ----------- | -------------- | ----------------------------------- | | `ls` | `eza` | With icons and git status | | `find` | `fd` | Simpler syntax, respects .gitignore | | `grep` | `rg` (ripgrep) | Faster, respects .gitignore | | `cat` | `bat` | Syntax highlighting | | `top` | `btm` (bottom) | Better TUI | | `du` | `dust` | Visual disk usage | | `sed` | `sd` | Simpler regex syntax | | `diff` | `delta` | Better git diffs |