Yazi: the terminal file manager that shows you the file first
Yazi is a Rust terminal file manager in public beta with built-in image previews, async I/O, and Lua plugins. It has 43,754 GitHub stars and a clear idea of what ranger should have become.

On this page
In brief
- Yazi previews images, video, PDFs, archives, and code inside the terminal, built in rather than handed to external tools.
- Its speed comes from async design: chunked directory loading, paged preloaders, and preview tasks that cancel when you move on.
- Ranger and lf still define the category: ranger is the small hackable one, lf the minimal one, Yazi the one that does the most itself.
- It is still in public beta, so configuration keys and the plugin API can change between releases.
- Install it from your package manager, use the `y` shell wrapper, and judge it on a week of real directories.
Yazi is a file manager that lives in the terminal, and its best feature is the one file managers usually skip: it shows you the file before you open it. Move the cursor onto a photograph and the photograph appears in the right-hand pane. A video shows its first frame, a PDF its first page, an archive its contents, a source file its syntax-highlighted text. The tool is called Yazi, which means "duck" in Chinese, and it has collected 43,754 stars on GitHub since its first commit in July 2023. It is still in public beta, and its own README warns users to expect breaking changes.
That combination, a polished daily tool that still calls itself a beta, is the story. Version 26.9.1, the current stable release, shipped on September 1, 2026, and nightly builds keep coming. The project is a serious attempt to rebuild the terminal file manager around the idea that previewing a file should be as cheap as listing it.
The preview is the point
The layout will look familiar to anyone who has used ranger, the Python file manager that defined this shape of tool in 2009. Three columns: the parent directory on the left, the current directory in the middle, and a preview of the selected file on the right. Navigation uses Vim keys, h, j, k, l, or the arrow keys, and the preview pane scrolls with K and J.
What changed is how much the preview pane does. Ranger hands image previews to external tools, ueberzug or w3mimgdisplay or the Kitty graphics protocol, and falls back to ASCII art through img2txt when nothing else is available. Yazi builds the image handling in. It speaks the Kitty graphics protocol, the iTerm2 inline images protocol, and Sixel natively, with Ueberzug++ and Chafa as fallbacks for terminals that support neither. The README lists the support per terminal: Kitty, iTerm2, WezTerm, Konsole, foot, Ghostty, Windows Terminal, Warp, Tabby, VS Code, Rio, Black Box, Bobcat, and st with graphics patches all get built-in previews.
The preview is not limited to images. The built-in previewers cover video, PDF, archives, code, and directories, and the preview scrolls, so a long file can be read in place instead of opened. The two-pass image pipeline explains part of the smoothness: when Yazi first meets an image file it downscales it to a cached copy, and only when you actually land on the file does it downscale again to fit the terminal. Video and PDF go through the same first pass, converted to images ahead of time.
Search is built from the command-line tools people already have. Press s to search by filename with fd, S to search file contents with ripgrep, z to jump with fzf, and Z to jump through directory history with zoxide. The task manager, opened with w, shows copy and move jobs with live progress and a cancel key, which is the kind of thing a file manager usually leaves to a progress bar you cannot touch.
Why it feels fast
The maintainer wrote up the design in a 2023 post, "Why is Yazi Fast?", and the interesting part is that the speed comes from application-layer choices rather than from Rust alone. Yazi is written in Rust on the Tokio async runtime, but the post is candid that Tokio is not the bottleneck for a terminal app. The wins are elsewhere.
Large directories load in chunks, so a folder with 100,000 files starts showing entries instead of blocking until every entry is read. Directory lists are preloaded in the background, so returning to a folder you already visited costs no fresh read. Preloaders only process the page on screen: in a directory of 1,000 files with a terminal 10 lines tall, only the 10 files you can see get their mime types computed and their thumbnails made. Every preview task is discardable, so moving the cursor fast cancels the preview you just left instead of queuing it behind the one you want. Code highlighting reads only the lines on screen, where a file manager that shells out to bat waits for bat to finish highlighting the file before showing the first 10 lines.
Underneath sits a task scheduler with 5 micro workers for small urgent jobs and 10 macro workers for long ones, each task carrying a priority so a big copy does not starve the preview you are looking at. In a 2025 release the project swapped its Sixel color quantizer for Wu's algorithm, and its own timings put a preview at about 21 ms where the old code took about 190 ms.
None of this is an independent benchmark. It is the project's own account of its design, and the design is the interesting part: most file managers wait for the slow thing, and Yazi starts it early and throws it away when you move on. The one number from outside the project is the binary itself. When grep.tips compared Rust and Go command-line tools in November, Yazi was one of the four examples measured: its Linux release binary came in at 24 MB, next to Gitleaks at 22 MB, which says the language does not decide the size. The tool does.
The old guard is still standing
Yazi arrives into a category with incumbents that have not gone away. Ranger, the tool Yazi's layout most resembles, is a Python program from 2009 with 17,468 stars, a GPL-3.0 license, and a 1.9.4 release. Its last commit landed on November 26, 2026, so reports of its death are premature, and its design goals still read as a rebuke to feature creep: small, useful, one thing done well. Its preview system depends on external programs, and its file launcher, rifle, is still the most flexible way to decide which program opens which file.
The other comparison is lf, a Go file manager from 2016 with 9,612 stars that takes ranger's ideas and strips them down: a single static binary, async I/O, a server and client architecture for managing several instances, and a stated list of non-features that includes tabs, a built-in pager, and built-in file operations, all deliberately left to the window manager, the editor, and the shell. It was last pushed on November 19, 2026.
The three tools now sit on a clear line. Ranger is the small, hackable one that leans on the Unix toolbox. Lf is the minimal one that refuses to grow. Yazi is the one that does the most itself: built-in previews, built-in highlighting, a Lua plugin system with a package manager that installs plugins and themes with one command, a data distribution service for talking between Yazi instances, and a virtual filesystem layer for remote files and custom search engines. That breadth is the appeal and the cost, and the cost is visible in the install page. The only hard requirement is the file command for detecting file types. The full experience asks for ffmpeg, 7-Zip, jq, poppler, fd, ripgrep, fzf, zoxide, resvg, and ImageMagick, and the docs warn to keep them current when a preview stops working.
What you give up
The beta label is doing real work here. Yazi's README states it plainly: public beta, usable as a daily driver, in heavy development, expect breaking changes. Configuration keys get renamed between releases, the plugin API moves, and a setup tuned over months can need attention after an upgrade. Anyone who has customized a tool deeply knows what that costs. The flip side is that there is a lot to customize: a keymap file, a settings file, themes and flavors from a community repository, and Lua plugins that can rewrite most of the interface.
The shell integration is also a do-it-yourself step. Yazi itself cannot change your shell's working directory when it quits, because a child process cannot move its parent. The docs ship a small shell function, usually named y, that runs Yazi, reads the directory it ended in from a temp file, and changes into it. Quit with q and your shell follows you; quit with Q and it stays put. It works, and it is one more thing to paste into a shell config before the tool feels finished.
Starting out
Installation is a package-manager call on most systems: pacman on Arch, Homebrew on macOS, an official APT repository for Debian and Ubuntu, a Nix package, a Fedora COPR, Scoop or WinGet on Windows, Snap, Flatpak, or Mise. Start it with yazi, press F1 or tilde for the help menu, and the keybindings are the ones your fingers already know if you have ever used Vim: h and l to move between columns, j and k to move within one, space to select, v for visual mode, y to yank, x to cut, p to paste, d to send a file to the trash, D to delete it for good.
The honest test is a week of real directories. If the preview pane saves you more opens than the beta costs you in config churn, it stays. If not, ranger is still there, still maintained, and still three columns wide.


