On this page
Key takeaways
- zoxide learns the directories you visit and jumps to them with a short command.
- fzf finds files and history entries by fuzzy matching as you type.
- eza and bat replace ls and cat with clearer, highlighted output.
- fd speeds up file search, while nnn and lf turn the terminal into a file browser.
Moving around a filesystem in the terminal usually means typing long paths, repeating ls, and guessing filenames. That works, but it is slow, and the default tools hide a lot of what a directory actually contains. A few small programs can make navigation feel immediate instead of like a typing exercise.
The tools below replace or improve the everyday commands for jumping between directories, listing files, searching, and viewing text. Some learn your habits, some fuzzy-match names, and some turn the terminal into a proper file browser. Each one removes a small bit of friction that adds up over a full day of work.
Quick comparison
| Tool | Best for | Starting price | Free plan |
|---|---|---|---|
| zoxide | Smarter directory navigation | Not included | Not included |
| fzf | Fuzzy finder | Not included | Not included |
| eza | A modern replacement for ls | Not included | Not included |
| bat | A cat clone with highlighting | Not included | Not included |
| fd | A friendly alternative to find | Not included | Not included |
| nnn | A fast terminal file manager | Not included | Not included |
| lf | A terminal file manager | Not included | Not included |
The best tools for terminal file and text navigation
1. zoxide
- Official site: https://github.com/ajeetdsouza/zoxide
- Best for: Smarter directory navigation
- Starting price: Not included
- Free plan: Not included
- Pros: Jumps by partial name; Learns your most-used paths
- Cons: Needs shell integration; Behavior takes a little getting used to
zoxide is a directory jumper that remembers the folders you visit and ranks them by how often and how recently you use them. Typing z with a fragment jumps straight to the matching directory, so a path like documents/projects/site can become z site. It works as a small Rust binary with a shell hook that records each cd.
It is best for people who move between a handful of deep project folders all day. zoxide removes most of the cd and ls churn, and its partial-name matching means you rarely type a full path again. The trade-off is a short setup step to hook it into your shell, and the ranking takes a few visits before it feels natural.
2. fzf
- Official site: https://github.com/junegunn/fzf
- Best for: Fuzzy finder
- Starting price: Not included
- Free plan: Not included
- Pros: Instant fuzzy matching; Pipes into almost any workflow
- Cons: Default key map takes practice; Vim-style navigation may confuse some
fzf is a fuzzy finder that filters a list of items as you type and returns the best match instantly. It can search files, command history, git branches, or any list piped into it, and it is controlled entirely from the keyboard. The same tool is used by many editors and shell plugins, which speaks to how flexible it is.
It is best for finding files and commands without knowing the exact name, since a few scattered letters are enough to reach the right entry. fzf pairs with other tools to become a picker, so choosing a file and then opening it in an editor happens in one flow. The key bindings take a little time, but the payoff is a single search interface for many tasks.
3. eza
- Official site: https://github.com/eza-community/eza
- Best for: A modern replacement for ls
- Starting price: Not included
- Free plan: Not included
- Pros: Colors, icons, and a tree view; Git status in listings
- Cons: Not installed by default; Options differ from plain ls
eza is a modern replacement for ls that adds colors, icons, and a tree view to directory listings. It can show file sizes in readable units, sort in more useful ways, and even mark files with their Git status. The output stays fast while carrying far more information than a plain listing.
It is best for people who spend a lot of time reading directory contents and want to see what changed at a glance. eza works well with fzf and other tools, and it can be aliased to replace ls without breaking muscle memory for basic use. Some flags differ from the standard command, so a few habits need adjusting after switching.
4. bat
- Official site: https://github.com/sharkdp/bat
- Best for: A cat clone with highlighting
- Starting price: Not included
- Free plan: Not included
- Pros: Syntax highlighting and line numbers; Git markers in output
- Cons: Extra dependency over plain cat; Slower on very large files
bat is a clone of cat that adds syntax highlighting, line numbers, and Git change markers to the text it prints. Opening a source file shows the code in color and marks lines that differ from the repository, which turns a quick look into something close to a lightweight preview. It can also page long files and show a clear header with the file path.
It is best for reading code and configuration in the terminal without opening an editor, and for making logs and diffs easier to scan. bat drops into scripts in place of cat when highlighting is wanted, though plain cat remains faster for huge single-purpose dumps. For normal source files the extra readability is worth the small dependency.
5. fd
- Official site: https://github.com/sharkdp/fd
- Best for: A friendly alternative to find
- Starting price: Not included
- Free plan: Not included
- Pros: Simple syntax and fast search; Respects gitignore by default
- Cons: Not a full replacement for every find flag; Needs a Rust toolchain only if building
fd is a faster, friendlier alternative to find with a simpler syntax. A search that takes a long chain of find flags becomes fd pattern, and it skips ignored files and hidden directories by default. The output is colored and can be piped into other tools, which makes it a natural pairing with fzf and your editor.
It is best for daily file searching when the goal is to locate a path quickly rather than compose an elaborate query. fd covers the vast majority of common lookups and respects the rules of the repository you are in. Very specialized find expressions may still need the original tool, but most developers rarely reach that far.
6. nnn
- Official site: https://github.com/jarun/nnn
- Best for: A fast terminal file manager
- Starting price: Not included
- Free plan: Not included
- Pros: Very fast and light; Plugin system for extra tasks
- Cons: Keyboard-only interface; Takes time to learn the shortcuts
nnn is a full-featured file manager that runs inside the terminal and is designed for speed. It opens directories, previews files, and moves between folders with single-key commands, and it stays responsive even on very large trees. A plugin system adds functions like mounting, batch renaming, and copying to the clipboard.
It is best for people who want to browse and manage files visually without leaving the keyboard or starting a graphical file manager. nnn is tiny and fast, which makes it a favorite on servers and old machines. The cost is a dense shortcut map, so new users should expect a short learning phase before it feels quick.
7. lf
- Official site: https://github.com/gokcehan/lf
- Best for: A terminal file manager
- Starting price: Not included
- Free plan: Not included
- Pros: Vim-like key bindings; Extendable through a config file
- Cons: Configuration is manual; Smaller feature set than nnn out of the box
lf is a terminal file manager modeled on the design of ranger, with a two-column layout and Vim-like key bindings. The left side shows the tree, the right side shows the selected directory, and everything is controlled with familiar keys like j, k, and l. A simple config file lets users define commands and previews.
It is best for Vim users who want a file manager that feels like their editor, since the keys carry over almost unchanged. lf is fast and scriptable, and its file previews can run through other tools such as bat. The setup is more hands-on than nnn, because most behaviors are defined by the user rather than shipped as defaults.
How we chose
These tools were chosen to speed up the everyday loop of moving between folders, listing files, finding paths, and reading text. Each entry replaces or upgrades a single standard command, which makes the set easy to adopt gradually instead of all at once. The list is limited to terminal-native tools, so nothing here requires leaving the keyboard.
Preference went to actively maintained projects with fast startup and clear documentation. All of them are small enough to install on any machine and integrate with each other, so a navigation setup can grow from one tool into a coordinated workflow without a heavy rewrite of habits.
FAQ
What is the fastest way to jump between directories?
zoxide is the quickest option, because it learns your most-used folders and jumps to them from a short partial name.
Can fzf replace my file manager?
Not entirely. fzf finds and filters files, but nnn and lf add browsing, previews, and file operations that a finder does not do.
Are eza and bat just cosmetic changes?
They add information, not only color, since eza shows Git status and bat adds line numbers and change markers that plain ls and cat leave out.
Do I need to replace find with fd?
Only if you search often, because fd is faster and simpler for common lookups, but the original find still handles a few specialized cases.
Which file manager should a Vim user choose?
lf is the natural fit, since its key bindings match Vim closely, while nnn is the better pick for people who prefer a lighter, faster tool.