The best CLI tools for developers are a small set of modern replacements for the classic Unix commands—faster, friendlier versions of grep, find, cd, and cat—plus a few that do genuinely new things. The honest version of this list ranks them by daily payoff rather than dumping twenty on you: a handful (fzf, ripgrep, zoxide) change how you work, and the rest are nice-to-have. This guide covers which tools actually earn a place, the one real catch nobody mentions, and how to choose without over-installing.
What "modern CLI tools" are—and their one real catch
Most of the tools in this category come from a wave of rewrites, many in Rust or Go, that reimagine the decades-old Unix commands with better defaults, color, speed, and saner syntax. ripgrep is a faster grep; fd is a friendlier find; bat is cat with syntax highlighting; eza is ls with git status and icons. They're real quality-of-life upgrades—but upgrades, not revolutions, and it's worth being clear-eyed about that.
Here's the catch the "must-have" lists skip: the classic commands are everywhere, and these are not. grep, find, ls, sed, and awk are installed on virtually every Unix system on earth, including the bare production server you'll SSH into at 2 a.m. Your beautiful modern toolkit is on your laptop and nowhere else unless you install it. So treat these as a local comfort layer, not a replacement for knowing the classics—because the day you need to search logs on a locked-down box, rg won't be there and grep will. The tools that justify installing are the ones that save you real time every day; the rest are polish.
The high-payoff core: install these first
If you install nothing else, install these four. They're the ones that measurably change how fast you move, ranked roughly by impact.
fzf (fuzzy finder) is the single highest-leverage tool here, and it's not a replacement for anything—it's new. It takes any list (files, command history, git branches, processes) and lets you filter it interactively by typing fragments. Its best trick is rebinding Ctrl-R to fuzzy-search your shell history, which alone changes how you use the terminal, and you can pipe anything into it (git branch | fzf) to pick from a list. It composes with every other tool, which is why it's first.
ripgrep (rg) recursively searches file contents and is the one tool even skeptics adopt. It's dramatically faster than grep -r on large codebases, and—crucially—it respects your .gitignore by default, so it skips node_modules and build output without being told. Searching a big repo for a string is the thing developers do dozens of times a day, and rg makes it instant.
zoxide replaces cd with a directory-jumper that learns the folders you visit most. After it's seen your paths, z proj jumps straight to ~/work/big-project from anywhere, no full path needed. It sounds trivial and saves more keystrokes than almost anything else.
fd is a simpler, faster find for locating files by name. Where find . -name "*.py" is fiddly, fd .py just works, and like ripgrep it's fast and respects .gitignore. Together, fd (find files) and ripgrep (search inside files) cover the two halves of "where is that thing."
A quick look at the difference in practice:
# classic # modern
grep -rn "TODO" . rg TODO
find . -name "*.test.js" fd .test.js
cat src/config.json bat src/config.json
cd ~/work/clients/acme/backend z backend
Here's how the core tools stack up against the criteria that decide whether one earns a place in your setup:
| Criterion | ripgrep | fd | fzf | zoxide | bat | eza |
|---|---|---|---|---|---|---|
| Replaces | grep | find | (new) | cd | cat | ls |
| Biggest daily win | Instant code search | Easy file finding | Interactive filtering | Jump to any dir | Readable file views | Rich listings |
| Preinstalled anywhere? | No | No | No | No | No | No |
| Learning curve | Minutes | Minutes | An hour | Minutes | None | Minutes |
| Safe to alias over the classic? | Yes (new name) | Yes (new name) | N/A | Yes (new name) | Risky | Risky |
Note the bottom row: ripgrep, fd, and zoxide use their own command names, so adopting them breaks nothing. Aliasing cat to bat or ls to eza, by contrast, can break scripts and pipes that expect plain output—so use the new tools by their own names rather than overriding the classics globally.
The rest worth having, by job
Beyond the core, a second tier is worth installing when you hit the need.
For Git, two tools stand out. delta renders diffs with syntax highlighting and side-by-side views, turning Git's hard-to-read default output into something legible—you wire it into your Git config and it improves every git diff and git log. lazygit is a full terminal UI for Git: staging hunks, rebasing, and browsing history through a keyboard-driven interface, which many developers find faster than either raw Git or an editor's Git panel.
For data and APIs, jq is the standard for slicing JSON on the command line—indispensable for working with API responses, though honestly its query language is powerful enough to have a real learning curve, and you'll be looking up syntax for a while. httpie (or xh, a faster rewrite) is a human-friendly curl for hitting APIs, with readable syntax and automatic JSON formatting.
For the system and the rest, gh is GitHub's official CLI for pull requests, issues, and releases without leaving the terminal; tldr gives you community-written example-first help pages when the real man page is too dense; dust is a visual du that shows what's eating your disk as a tree; and btop is a far more readable top for watching processes and resource use. Install these as specific needs arise, not preemptively.
The honest tradeoffs, and what to skip
This category attracts "install all 21" lists, and that's the mistake. Each tool is one more thing to install on every machine, keep updated, and remember you have. The honest guidance:
- Not preinstalled is a real cost. Covered above, and worth repeating: don't let the modern tools erode your fluency with the classics you'll need on remote and minimal systems.
- Diminishing returns past the core. fzf, ripgrep, fd, and zoxide deliver most of the value. The
ls/catreplacements (eza, bat) are genuinely nice but save seconds, not minutes—install them if you like them, skip them without guilt. - Don't alias over the classics globally. Overriding
cat,ls, orgrepwith a modern tool can break scripts, pipes, and your muscle memory on other machines. Use the new names. - jq's power has a price. It's the right tool for JSON, but budget time to learn its query language rather than expecting it to be obvious.
The test for any CLI tool is the same as for an editor extension: does it remove a friction you hit many times a day, enough to justify installing and carrying it everywhere? If yes, adopt it; if it's a once-a-month convenience, skip it.
Wiring them into your setup
These tools live inside your terminal, which is why they matter more than which terminal emulator you picked—the emulator draws the window, but these are what you actually run in it. They're also the reason the command line often beats reaching for an editor feature: for bulk file operations, log searching, and scripting, a sharp CLI toolkit outperforms a VS Code extension, even though your editor has a capable integrated terminal to run them in.
The practical glue is your shell configuration. fzf's keybindings, zoxide's initialization, your aliases, and the list of tools to install all belong in version-controlled config so a new machine reproduces your setup in minutes—exactly what a dotfiles setup is for. A toolkit you can't reproduce is one you'll rebuild from memory every time you get a new laptop; a toolkit in your dotfiles is a few commands away from ready.
Common mistakes
- Installing everything. Twenty tools you forget you have isn't productivity. Install the high-payoff core, add the rest only when a real need appears.
- Forgetting the classics. The modern tools aren't on the servers you SSH into. Stay fluent in
grep,find, andsedso you're not helpless on a bare box. - Aliasing over built-ins globally. Overriding
catorlsbreaks scripts and pipes expecting plain output. Use the modern tools by their own names. - Skipping fzf because it's not a "replacement." It's the highest-impact tool here precisely because it's new and composes with everything. Don't overlook it.
- Not putting config in dotfiles. A toolkit you set up by hand on each machine is wasted effort. Version-control your shell config and install list.
- Expecting jq to be intuitive. Its query language is genuinely its own skill. Plan to learn it rather than fighting it ad hoc.
Frequently asked questions
What are the best CLI tools for developers?
The highest-impact ones are fzf (interactive fuzzy filtering), ripgrep (fast code search), zoxide (smart directory jumping), and fd (easy file finding)—these four change how fast you work day to day. A second tier worth adding as needed includes delta and lazygit for Git, jq for JSON, httpie for APIs, and bat and eza as nicer cat and ls. Install the core first and add the rest only when you hit the need.
Do modern CLI tools replace grep, find, and ls? On your own machine, they can—ripgrep, fd, and eza are faster and friendlier than grep, find, and ls. But they aren't installed on most remote servers, minimal containers, or production boxes, where only the classics exist. So they're a local comfort layer, not a true replacement: keep your fluency with grep, find, and sed, because those are what you'll have when you SSH into a locked-down system.
Is ripgrep really faster than grep?
Yes, noticeably, especially on large codebases—it's multithreaded and skips files in your .gitignore by default, so it doesn't waste time searching node_modules or build output. For the everyday task of searching a repository for a string, ripgrep is dramatically quicker and needs less typing than grep -r. It's the modern tool that even command-line traditionalists tend to adopt.
Should I alias cat to bat and ls to eza?
Be careful. Aliasing cat or ls to a modern tool changes their output, which can break shell scripts and pipes that expect plain text, and leaves you stumbling when you're on a machine without the alias. It's safer to use bat and eza by their own names, or alias them to new shortcuts, rather than overriding the standard commands globally.
How many CLI tools should I actually install? Fewer than the "must-have" lists suggest. The core four—fzf, ripgrep, fd, zoxide—deliver most of the value, and a handful of job-specific tools (delta, lazygit, jq) cover the rest as needs arise. Each tool is something to install, update, and carry to every machine, so install what removes a daily friction and skip the once-a-month conveniences.
The takeaway
The best CLI tools for developers aren't a long install list—they're a small core (fzf, ripgrep, zoxide, fd) that genuinely changes your daily speed, plus a few job-specific tools you add when the need is real, all chosen by the same test: does this remove a friction you hit many times a day? Keep your fluency with the classic Unix commands too, because the modern tools live on your laptop and the servers you log into run grep and find. Your next step is to install those four core tools, put their shell configuration in your dotfiles, and spend a week using them—then add a second-tier tool only when you catch yourself wishing for it.

