CLI Power Tools¶
Modern replacements for standard Unix utilities. Faster, more intuitive defaults, and better output.
ripgrep — faster grep¶
Recursively search file contents, respecting .gitignore by default:
Search with context (3 lines before and after):
Search only specific file types:
Install:
brew install ripgrep·apt install ripgrep·winget install BurntSushi.ripgrep
fd — faster find¶
Find files by name with sensible defaults:
Find and delete all .DS_Store files:
Find files modified in the last hour:
Install:
brew install fd·apt install fd-find·winget install sharkdp.fd
bat — better cat¶
View files with syntax highlighting and line numbers:
Show only a range of lines:
Use as a man pager:
Install:
brew install bat·apt install bat·winget install sharkdp.bat
Ubuntu/Debian
The binary is installed as batcat due to a name conflict. Create an alias: alias bat='batcat'
eza — modern ls¶
List files with git status and icons:
Tree view with depth limit:
Install:
brew install eza·cargo install eza·winget install eza-community.eza
zoxide — smarter cd¶
Jump to a frequently used directory:
Interactive directory picker (requires fzf):
Add to your shell (put in .zshrc or .bashrc):
Install:
brew install zoxide·cargo install zoxide·winget install ajeetdsouza.zoxide
fzf — fuzzy finder¶
Interactive fuzzy search for anything piped to it:
Search and open a file in your editor:
Preview files while browsing:
Install:
brew install fzf·apt install fzf·winget install junegunn.fzf
jq — JSON processor¶
Pretty-print JSON:
Extract a specific field:
Filter and transform:
Install:
brew install jq·apt install jq·winget install jqlang.jq
delta — better git diffs¶
Configure as your default git diff pager:
git config --global core.pager delta
git config --global interactive.diffFilter "delta --color-only"
Side-by-side view:
Install:
brew install git-delta·cargo install git-delta