Master Your Terminal Workflow: A Step-by-Step Guide to Yazi File Manager

By ● min read

Introduction

If you spend a lot of time in the Linux terminal, you may be familiar with the classic ls and cd dance to navigate files. While effective, it can feel clunky compared to a graphical file manager. Enter Yazi, a blazingly fast, asynchronous file manager written in Rust that runs entirely in your terminal. It combines the efficiency of the command line with a modern, user-friendly interface. In this guide, you’ll learn how to install, launch, and make the most of Yazi’s features—like code highlighting, image previews, and powerful search—step by step.

Master Your Terminal Workflow: A Step-by-Step Guide to Yazi File Manager
Source: itsfoss.com

What You Need

Step-by-Step Guide

Step 1: Install Yazi

Yazi is available in many official repositories and via third-party package managers. Choose your distro below:

After installation, verify with yazi --version. Install optional dependencies like ueberzug for image support (sudo apt install ueberzug on Debian/Ubuntu).

Step 2: Launch Yazi

Open your terminal and simply type yazi. The interface appears instantly. You’ll see a three-pane layout: the left pane shows the directory tree (or parent directory), the middle pane lists files, and the right pane shows a preview of the selected item.

Alternatively, start Yazi from a specific directory: yazi /home/user/Documents.

Step 3: Navigate Like a Pro

Yazi supports both arrow keys and Vim-style keys. Use the up/down arrows or j/k to move through files. Press Enter to open a directory; press Backspace or h to go up. To quickly jump to a parent folder, press p. The search bar (triggered with /) lets you find files by name instantly.

Pro tip: Press Space to toggle selection of multiple files, then d to delete selected items (after confirmation).

Step 4: Preview Files Without Opening Them

One of Yazi’s standout features is its live preview pane. As you navigate, the preview automatically updates to show:

To enable image preview, ensure ueberzug is in your PATH. On supported terminals (like Kitty, iTerm2, or with chafa), images appear inline. Otherwise, Yazi falls back to text-based previews.

Master Your Terminal Workflow: A Step-by-Step Guide to Yazi File Manager
Source: itsfoss.com

Step 5: Search and Manipulate Files

Yazi includes a powerful fuzzy-finder built in. Press / to activate search—start typing, and results narrow down in real-time. You can also use regular expressions for advanced queries.

File operations are quick:

All operations are asynchronous, meaning the interface stays responsive even when processing large directories.

Step 6: Customize Yazi (Optional)

Yazi reads a configuration file at ~/.config/yazi/yazi.toml. You can tweak:

Example: To set a custom color scheme, add a [theme] section. Check the official Yazi documentation for full options.

Tips for a Smoother Experience

Yazi may be the terminal file manager you never knew you needed—but once you try it, you’ll wonder how you managed without it. Happy navigating!

Tags:

Recommended

Discover More

Navigating AI-Powered Coding: An Overview of Four Agent WorkflowsReplacing C++ Node.js Addons with .NET Native AOT: A Q&A GuidePixel 8 Series Steps Closer to AirDrop Compatibility with Quick Share Extension8 Key Moves in the Global Energy Transition: A Climate Brief RecapCloudZ RAT and Pheno Plugin: 10 Critical Facts About Credential and OTP Theft