Command-line tools I keep reinstalling
Every fresh machine ends up with the same handful of packages. Writing them down so next time it is one line.
apt install ripgrep fd-find bat jq htop ncdu tmux mtr-tiny
- ripgrep (
rg) — grep that respects.gitignoreand is fast enough to just use everywhere. - fd —
findwith sane defaults. On Debian the binary isfdfind; I alias it. - bat —
catwith syntax highlighting, installed asbatcaton Debian. - jq — the only sane way to look at JSON in a terminal.
- ncdu — finds what filled the disk in about ten seconds.
- mtr — traceroute and ping in one, good for "is it me or the network".
- tmux — so an SSH drop doesn't kill a long-running command.
# ~/.bashrc
alias fd=fdfind
alias bat=batcat