Awesome CLI Tools is a curated list of modern command-line tools for developers, DevOps engineers and power users on Linux, macOS and Windows: faster replacements for classic Unix commands (grep, find, cat, ls, du, top), plus tools for Git, JSON, HTTP, containers, Kubernetes, security, shells, backups and AI coding agents in the terminal. Every entry links to the project’s source, says which classic command it replaces, and shows a one-line example you can try right away.
Last reviewed: December 2026. All project links were checked on the review date; archived projects were removed.
Table of contents
The starter kit: install these first
If you install only ten tools, make it these. Together they change how a terminal feels.
| Tool |
Why it earns a place |
ripgrep (rg) |
Searches code very fast and respects .gitignore by default |
| fd |
find with sane defaults and readable syntax |
| fzf |
Fuzzy finder for files, history and anything you can pipe in |
| bat |
cat with syntax highlighting, line numbers and Git markers |
| eza |
ls with colors, icons, Git status and a tree view |
| zoxide |
cd that learns your most-used folders |
| delta |
Readable, syntax-highlighted Git diffs |
| lazygit |
Terminal UI that makes staging, rebasing and branching easy |
| jq |
Slice, filter and reshape JSON |
| btop |
Beautiful resource monitor for CPU, memory, disks and network |
Modern replacements for classic commands
| Classic |
Modern |
Try it |
grep |
ripgrep |
rg -n "TODO" src/ |
find |
fd |
fd -e md |
cat / less |
bat |
bat src/main.rs |
ls |
eza |
eza -la --git --icons |
cd |
zoxide |
z proj |
du |
dust |
dust -d 2 |
df |
duf |
duf |
top / htop |
btop |
btop |
ps |
procs |
procs --tree |
sed (find and replace) |
sd |
sd 'foo' 'bar' file.txt |
diff |
difftastic |
difft old.py new.py |
curl (for APIs) |
xh |
xh httpbin.org/json |
dig |
q |
q example.com MX |
ping |
gping |
gping 1.1.1.1 example.com |
man |
tlrc (tldr client) |
tldr tar |
cut / awk (columns) |
choose |
ps aux \| choose 1 10 |
xxd / hexdump |
hexyl |
hexyl image.png \| head |
time (benchmarks) |
hyperfine |
hyperfine 'rg foo' 'grep -r foo .' |
watch + make |
watchexec |
watchexec -e py pytest |
Ctrl+R history |
atuin |
atuin search docker |
tail -f logs |
lnav |
lnav /var/log/ |
make (as a task runner) |
just |
just test |
Search and navigation
| Tool |
What it does |
Example |
| ripgrep |
Recursive regex search, very fast, skips ignored and binary files |
rg -i "connection refused" --type log |
| fd |
Fast, user-friendly alternative to find |
fd -t f -e log --changed-within 1d |
| fzf |
Interactive fuzzy filter for any list |
vim $(fzf --preview 'bat --color=always {}') |
| zoxide |
Jump to frequently used directories by partial name |
z dotfiles |
| broot |
Navigate big directory trees with fuzzy search |
br |
| ast-grep |
Search and rewrite code by syntax tree, not text |
ast-grep -p 'console.log($A)' -l js |
| grex |
Generate a regex from example strings |
grex 2026-12-01 1999-01-31 |
Viewing files and diffs
| Tool |
What it does |
Example |
| bat |
Syntax-highlighted cat with paging and Git markers |
bat --diff config.yml |
| eza |
Modern ls with Git status and tree mode |
eza --tree --level=2 --git-ignore |
| delta |
Pager for Git diffs with syntax highlighting and side-by-side mode |
git config --global core.pager delta |
| difftastic |
Structural diff that understands code syntax |
GIT_EXTERNAL_DIFF=difft git diff |
| diff-so-fancy |
Human-friendly Git diff output |
git diff \| diff-so-fancy |
| hexyl |
Colored hex viewer |
hexyl -n 256 file.bin |
| glow |
Render Markdown in the terminal |
glow README.md |
| tailspin |
Log file highlighter |
tspin app.log |
| lnav |
Log file navigator that merges, filters and queries logs with SQL |
lnav app.log nginx.log |
File managers
| Tool |
What it does |
Example |
| yazi |
Fast terminal file manager with image previews |
yazi |
| nnn |
Tiny, extremely fast file manager |
nnn -de |
| lf |
Minimal file manager inspired by ranger, single binary |
lf |
| ranger |
Vim-style file manager with previews |
ranger |
Disk usage
| Tool |
What it does |
Example |
| dust |
Visual du that shows where space goes |
dust -r -n 20 |
| duf |
Readable df with colored tables |
duf --only local |
| gdu |
Very fast interactive disk usage analyzer |
gdu / |
| dua |
Parallel disk usage with an interactive delete mode |
dua i |
| diskus |
Fast, minimal du -sh |
diskus ~/Downloads |
System monitoring and processes
| Tool |
What it does |
Example |
| btop |
Full-screen monitor for CPU, memory, disks, network and processes |
btop |
| bottom |
Cross-platform graphical process and system monitor |
btm |
| htop |
The classic interactive process viewer |
htop -u $USER |
| glances |
Monitoring dashboard with a web mode and plugins |
glances -w |
| procs |
Modern ps with search, tree view and ports |
procs --sortd cpu |
| bandwhich |
Bandwidth usage per process and connection |
sudo bandwhich |
| pueue |
Queue and manage long-running shell commands |
pueue add -- ./backup.sh |
HTTP, APIs and load testing
| Tool |
What it does |
Example |
| xh |
Friendly, fast HTTP client with HTTPie-style syntax |
xh post httpbin.org/post name=ada |
| curlie |
HTTPie-like interface on top of curl |
curlie -v example.com |
| Hurl |
Run and test HTTP requests defined in plain text files |
hurl --test api.hurl |
| oha |
HTTP load generator with a live terminal UI |
oha -z 30s http://localhost:8080 |
| hey |
Simple HTTP load generator |
hey -n 1000 -c 50 http://localhost:8080 |
| vegeta |
Constant-rate HTTP load testing |
echo "GET http://localhost:8080" \| vegeta attack -rate=100 -duration=10s \| vegeta report |
| k6 |
Scriptable load testing in JavaScript |
k6 run script.js |
| mitmproxy |
Interactive HTTPS proxy to inspect and modify traffic |
mitmproxy -p 8080 |
Networking and DNS
| Tool |
What it does |
Example |
| gping |
Ping with a live graph, several hosts at once |
gping google.com 1.1.1.1 |
| q |
DNS client supporting DoH, DoT and DoQ |
q example.com AAAA @https://cloudflare-dns.com |
| Nmap |
Network discovery and port scanning (only on networks you own) |
nmap -sV localhost |
| httpx |
Probe many hosts for HTTP status, titles and tech |
cat hosts.txt \| httpx -status-code -title |
| netshoot |
Container image packed with network debugging tools |
docker run --rm -it nicolaka/netshoot |
JSON, YAML and CSV
| Tool |
What it does |
Example |
| jq |
Command-line JSON processor |
jq '.items[] \| {id, name}' data.json |
| yq |
jq-like processor for YAML, JSON, XML, TOML and CSV |
yq '.services \| keys' docker-compose.yml |
| jnv |
Interactive JSON viewer with live jq filters |
jnv data.json |
| jqp |
TUI playground for writing jq queries |
jqp -f data.json |
| qsv |
Fast CSV toolkit: stats, select, search, join |
qsv stats data.csv \| qsv table |
| VisiData |
Spreadsheet-like terminal tool for CSV, JSON, Excel and more |
vd sales.csv |
| DuckDB |
SQL over CSV, Parquet and JSON files |
duckdb -c "select count(*) from 'data/*.parquet'" |
Databases from the terminal
| Tool |
What it does |
Example |
| pgcli |
PostgreSQL client with autocompletion and syntax highlighting |
pgcli postgres://user@localhost/app |
| mycli |
MySQL client with autocompletion |
mycli -u root app |
| litecli |
SQLite client with autocompletion |
litecli app.db |
| usql |
One SQL CLI for PostgreSQL, MySQL, SQLite, SQL Server and many more |
usql sqlite:app.db |
Git
| Tool |
What it does |
Example |
| GitHub CLI |
Pull requests, issues, releases and Actions from the terminal |
gh pr create --fill |
| lazygit |
Fast terminal UI for Git |
lazygit |
| gitui |
Fast Git TUI written in Rust |
gitui |
| git-extras |
Dozens of extra Git commands (summary, effort, undo) |
git summary |
| git-filter-repo |
Rewrite history safely, for example to remove a leaked file |
git filter-repo --path secrets.env --invert-paths |
| Git LFS |
Store large files outside the Git history |
git lfs track "*.psd" |
| forgit |
fzf-powered interactive Git commands |
ga (interactive add) |
| onefetch |
Summary of a Git repository: languages, authors, size |
onefetch |
| act |
Run GitHub Actions workflows locally |
act -j test |
| actionlint |
Lint GitHub Actions workflow files |
actionlint |
Containers and Kubernetes
| Tool |
What it does |
Example |
| lazydocker |
Terminal UI for Docker and Compose |
lazydocker |
| dive |
Explore image layers and find wasted space |
dive myapp:latest |
| Docker Compose |
Define and run multi-container apps |
docker compose up -d |
| Podman |
Daemonless, rootless container engine with a Docker-compatible CLI |
podman run --rm -it alpine sh |
| k9s |
Terminal UI to manage Kubernetes clusters |
k9s -n production |
| kubectx and kubens |
Switch Kubernetes contexts and namespaces quickly |
kubens staging |
| stern |
Tail logs from many pods at once |
stern api -n production |
| Helm |
Kubernetes package manager |
helm upgrade --install app ./chart |
| kind |
Local Kubernetes clusters in Docker |
kind create cluster |
| k3d |
Lightweight k3s clusters in Docker |
k3d cluster create dev |
| hadolint |
Dockerfile linter |
hadolint Dockerfile |
Infrastructure as code
| Tool |
What it does |
Example |
| OpenTofu |
Open source infrastructure as code, a fork of Terraform |
tofu plan |
| Terraform |
Infrastructure as code (Business Source License since 2023) |
terraform plan |
| Pulumi |
Infrastructure as code in general-purpose languages |
pulumi up |
| Ansible |
Agentless configuration management over SSH |
ansible all -m ping -i hosts.ini |
Security and secrets
| Tool |
What it does |
Example |
| age |
Simple, modern file encryption |
age -r <recipient-public-key> -o secrets.age secrets.txt |
| SOPS |
Encrypt values inside YAML, JSON and .env files |
sops --encrypt --age <key> secrets.yaml |
| mkcert |
Locally trusted HTTPS certificates for development |
mkcert localhost 127.0.0.1 |
| gitleaks |
Find secrets committed to Git repositories |
gitleaks git . |
| TruffleHog |
Find and verify leaked credentials |
trufflehog git file://. --only-verified |
| Trivy |
Scan images, file systems and IaC for vulnerabilities and misconfigurations |
trivy image python:3.13-slim |
| Syft |
Generate a software bill of materials (SBOM) |
syft myapp:latest -o spdx-json |
| Grype |
Vulnerability scanner for images and SBOMs |
grype myapp:latest |
| ssh-audit |
Audit SSH server and client configuration |
ssh-audit example.com |
Shells, prompts and history
| Tool |
What it does |
Example |
| Starship |
Fast, customizable prompt for any shell |
eval "$(starship init zsh)" |
| atuin |
Searchable shell history in SQLite, optional encrypted sync |
atuin stats |
| McFly |
Context-aware Ctrl+R history search |
eval "$(mcfly init zsh)" |
| fish |
Friendly shell with autosuggestions out of the box |
fish |
| Nushell |
Shell where pipelines carry structured data |
ls \| where size > 10mb |
| Oh My Zsh |
Framework for Zsh configuration and plugins |
omz plugin enable git |
| zsh-autosuggestions |
Fish-style suggestions in Zsh |
Source it in ~/.zshrc |
| zsh-syntax-highlighting |
Highlights commands as you type in Zsh |
Source it last in ~/.zshrc |
| direnv |
Load and unload environment variables per directory |
echo 'export API_URL=http://localhost' > .envrc && direnv allow |
| vivid |
Generate LS_COLORS themes |
export LS_COLORS="$(vivid generate molokai)" |
Terminal multiplexers
| Tool |
What it does |
Example |
| tmux |
Split panes, windows and sessions that survive disconnects |
tmux new -s work |
| Zellij |
Multiplexer with discoverable keybindings and layouts |
zellij --layout compact |
| tpm |
Plugin manager for tmux |
prefix + I to install plugins |
Terminal editors
| Tool |
What it does |
Example |
| Neovim |
Extensible Vim-based editor with Lua configuration and built-in LSP |
nvim . |
| Helix |
Modal editor with LSP and tree-sitter built in, no plugins needed |
hx src/ |
| micro |
Easy terminal editor with familiar shortcuts (Ctrl+S, Ctrl+C) |
micro notes.md |
Runtimes and version managers
| Tool |
What it does |
Example |
| mise |
One tool to manage Node, Python, Go and more per project, plus env vars and tasks |
mise use node@lts |
| asdf |
Plugin-based version manager for many languages |
asdf install |
| uv |
Extremely fast Python package and project manager |
uv run script.py |
| pipx |
Install Python CLI apps in isolated environments |
pipx install httpie |
| nvm |
Node.js version manager |
nvm install --lts |
| Volta |
Fast JavaScript toolchain manager |
volta install node |
| Bun |
Fast JavaScript runtime, bundler, test runner and package manager |
bun run dev |
| Deno |
Secure JavaScript and TypeScript runtime with built-in tooling |
deno run -A main.ts |
| Homebrew |
Package manager for macOS and Linux |
brew install ripgrep |
| topgrade |
Update everything (system, Homebrew, language managers) with one command |
topgrade |
Task runners and file watchers
| Tool |
What it does |
Example |
| just |
Command runner with a simple justfile |
just deploy staging |
| Task |
Task runner with YAML Taskfiles |
task build |
| watchexec |
Run a command when files change |
watchexec -r -e go go run . |
| entr |
Run commands when files change, Unix style |
ls *.py \| entr -c pytest |
| pre-commit |
Manage Git pre-commit hooks for many languages |
pre-commit run --all-files |
Code quality and statistics
| Tool |
What it does |
Example |
| ShellCheck |
Find bugs in shell scripts |
shellcheck deploy.sh |
| shfmt |
Format shell scripts |
shfmt -w -i 2 *.sh |
| tokei |
Count lines of code by language |
tokei |
| scc |
Fast line counter with complexity estimates |
scc --by-file |
| hyperfine |
Statistical command-line benchmarking |
hyperfine --warmup 3 'make build' |
| lychee |
Fast link checker for Markdown, HTML and websites |
lychee README.md |
Help, docs and cheat sheets
| Tool |
What it does |
Example |
| tldr pages |
Community-written, example-first help pages |
Browse or use a client |
| tlrc |
Official tldr client written in Rust |
tldr rsync |
| tealdeer |
Fast tldr client |
tldr --update && tldr tar |
| navi |
Interactive cheat sheets with fill-in arguments |
navi |
| cheat |
Create and view your own cheat sheets |
cheat -e git |
Scripting and pretty terminal output
| Tool |
What it does |
Example |
| gum |
Prompts, spinners and menus for shell scripts |
gum choose "deploy" "rollback" |
| VHS |
Record terminal GIFs from a script |
vhs demo.tape |
| asciinema |
Record and share terminal sessions as text |
asciinema rec demo.cast |
| pastel |
Generate, convert and inspect colors |
pastel color "#ff6600" |
| numbat |
Calculator that understands physical units |
numbat -e "3 GB / (20 MB/s) -> minutes" |
Backups, sync and file transfer
| Tool |
What it does |
Example |
| rclone |
Sync files to and from 70+ cloud storage providers |
rclone sync ./photos remote:photos --dry-run |
| restic |
Fast, encrypted, deduplicated backups |
restic -r /mnt/backup backup ~/docs |
| BorgBackup |
Deduplicating, compressed, encrypted backups |
borg create /mnt/repo::{now} ~/docs |
| Kopia |
Encrypted, deduplicated backups with a CLI and GUI |
kopia snapshot create ~/docs |
| croc |
Send files between computers with a code phrase |
croc send report.pdf |
| Magic Wormhole |
Secure one-time file transfer with short codes |
wormhole send report.pdf |
| Tool |
What it does |
Example |
| FFmpeg |
Convert, cut and process audio and video |
ffmpeg -i in.mov -c:v libx264 -crf 23 out.mp4 |
| yt-dlp |
Download audio and video from many sites (respect their terms) |
yt-dlp -x --audio-format mp3 <url> |
| ImageMagick |
Convert and edit images in batch |
magick in.png -resize 50% out.webp |
| Pandoc |
Convert between Markdown, HTML, DOCX, PDF and more |
pandoc notes.md -o notes.docx |
Tunnels and local servers
| Tool |
What it does |
Example |
| cloudflared |
Cloudflare Tunnel client; expose a local server without opening ports |
cloudflared tunnel --url http://localhost:3000 |
| Tailscale |
WireGuard-based private network between your devices |
tailscale up |
| bore |
Minimal TCP tunnel to expose local ports |
bore local 8000 --to bore.pub |
| Caddy |
Web server with automatic HTTPS |
caddy file-server --browse --listen :8080 |
AI in the terminal
| Tool |
What it does |
Example |
| Claude Code |
Anthropic’s agentic coding tool for the terminal |
claude |
| Codex CLI |
OpenAI’s open source coding agent for the terminal |
codex |
| Gemini CLI |
Google’s open source AI agent for the terminal |
gemini |
| opencode |
Open source coding agent that works with many model providers |
opencode |
| Aider |
AI pair programming that edits files and makes Git commits |
aider app.py |
| llm |
CLI and Python library for prompting many LLMs, with logging to SQLite |
cat error.log \| llm "explain this error" |
| aichat |
All-in-one LLM CLI with chat, shell assistant and RAG |
aichat -e "find files larger than 1GB" |
| Ollama |
Run open-weight LLMs locally |
ollama run <model> |
Always read commands an AI suggests before running them, especially anything with sudo, rm or network access.
System info and fun
| Tool |
What it does |
Example |
| fastfetch |
Show system information next to a logo (maintained neofetch alternative) |
fastfetch |
| genact |
Fake activity generator that looks busy |
genact -m cargo |
Install everything with Homebrew
Homebrew works on macOS and Linux. Most Linux distributions also package these tools under the same names; check your package manager.
# Starter kit
brew install ripgrep fd fzf bat eza zoxide git-delta lazygit jq btop
# Files, disk and system
brew install dust duf gdu procs bottom hyperfine yazi broot
# Data, HTTP and networking
brew install yq xh hurl oha gping q qsv visidata duckdb
# Git, containers and Kubernetes
brew install gh git-extras git-filter-repo difftastic lazydocker dive k9s kubectx stern helm
# Shell and productivity
brew install starship atuin direnv mise just watchexec tlrc navi gum glow
# Security and backups
brew install age sops mkcert gitleaks trivy rclone restic croc
Package names differ from command names in a few places: git-delta installs delta, bottom installs btm, visidata installs vd, tlrc installs tldr, and kubectx also installs kubens.
Shell configuration that ties it together
Add to ~/.zshrc (use the matching bash or fish init commands for other shells):
# Smarter cd and prompt
eval "$(zoxide init zsh)"
eval "$(starship init zsh)"
# fzf keybindings: Ctrl+T files, Ctrl+R history, Alt+C directories (fzf 0.48+)
source <(fzf --zsh)
export FZF_DEFAULT_COMMAND='fd --type f --hidden --exclude .git'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --line-range :200 {}'"
# Searchable history (replaces Ctrl+R; remove if you prefer fzf's)
eval "$(atuin init zsh)"
# Per-directory environments and tool versions
eval "$(direnv hook zsh)"
eval "$(mise activate zsh)"
# Friendlier defaults, without hiding the originals
alias ls='eza --group-directories-first'
alias ll='eza -la --git --group-directories-first'
alias tree='eza --tree --git-ignore'
alias cat='bat --paging=never'
alias lg='lazygit'
Git with delta (~/.gitconfig):
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true
[merge]
conflictStyle = zdiff3
FAQ
What are the best CLI tools for developers?
Start with ripgrep, fd, fzf, bat, eza, zoxide, delta, lazygit, jq and btop. They speed up the things you do every day: searching, navigating, reading files, reviewing diffs and checking your system.
Are these tools safe to alias over the classic commands?
For interactive use, yes. Do not rely on aliases in scripts: scripts should call the standard tools (grep, find, ls) because they are installed everywhere and their output format is stable. Aliases only apply to interactive shells by default.
Do these tools work on Windows?
Many do. ripgrep, fd, fzf, bat, eza, zoxide, delta, lazygit, jq, bottom, starship and most Go or Rust tools have Windows builds through winget or scoop. Tools tied to Unix internals (htop, entr) need WSL.
Why are so many modern CLI tools written in Rust or Go?
Both produce single, fast, self-contained binaries that are easy to distribute across platforms, and Rust in particular makes it practical to write very fast tools like ripgrep safely.
ripgrep vs grep vs ag?
ripgrep is generally the fastest for searching code trees, respects .gitignore and skips binary files by default. GNU grep is everywhere and best for scripts. The Silver Searcher (ag) inspired many of these ideas but is far less active today.
tmux or Zellij?
tmux is everywhere, battle-tested and scriptable. Zellij is easier to learn thanks to on-screen keybinding hints and layouts. If you already know tmux, stay; if not, try Zellij first.
How do I keep all these tools updated?
Use one package manager for them (Homebrew, your Linux package manager, or mise for language toolchains) and run updates regularly, or use topgrade to update everything at once.
Where to go next
Contributing
PRs are welcome. A tool belongs here if it:
- Is a command-line or terminal UI tool useful to many developers,
- Is open source, actively maintained and not archived,
- Comes with a one-line example in the table.
Keep entries accurate and descriptions short and in your own words.
License
Content is licensed under CC BY 4.0.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.