Yazi - Terminal File Manager

Yazi - ⚡️ Blazing Fast Terminal File Manager Yazi (means "duck") is a terminal file manager written in Rust, based on non-blocking async I/O. It aims to provide an efficient, user-friendly, and customizable file management experience.

Yazi - Terminal File Manager
0:00
/0:57

Installation

Depending on your system, you may find a binary (some are version 0.4.2 and some the new 25.2.7 that include the new mount manager, local image preview over tmux/SSH).
The best way might be to build it from source.

Project status

  • Public beta, can be used as a daily driver.
  • Yazi is currently in heavy development, expect breaking changes.
  • Assets compiled yesterday
    • yazi-aarch64-apple-darwin.zip
    • yazi-aarch64-pc-windows-msvc.zip
    • yazi-aarch64-unknown-linux-gnu.zip
    • yazi-aarch64-unknown-linux-musl.zip
    • yazi-amd64.snap
    • yazi-arm64.snap
    • yazi-i686-unknown-linux-gnu.zip
    • yazi-powerpc64-unknown-linux-gnu.zip
    • yazi-powerpc64le-unknown-linux-gnu.zip
    • yazi-riscv64gc-unknown-linux-gnu.zip
    • Source code (tar.qz/zip)

Install Yazi on Pop-OS (or Debian/Ubuntu)

Build from source

On my PopOS PC, I built it from source. But, on my Mac, I just installed it.

First, install your preferred Nerd Font

Set up the latest stable Rust toolchain via rustup

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrustup update

Install the optional dependencies

sudo apt install ffmpeg 7zip jq poppler-utils fd-find ripgrep fzf zoxide imagemagick

You need to choose what you need

Clone the repository and build Yazi

git clone https://github.com/sxyazi/yazi.git
cd yazi
cargo build --release --locked

Set up your Yazi

Go to .config/yazi and create the yazi.toml with your setting, like change the editor from the default vi to nvim.

Then add yazi and ya to your path

mv target/release/yazi target/release/ya /usr/local/bin/

To use Yazi, you must have the following prerequisites installed:

  • file (for file type detection)
  • IMHO a nerd-font, fxf and zoxide are essential

Yazi, optional extensions

Optional extensions, command line tools to enable additional features:

  • nerd-fonts (recommended)
  • ffmpeg (for video thumbnails)
  • 7-zip (for archive extraction and preview)
  • jq (for JSON preview)
  • poppler (for PDF preview) (recommended)
  • fd (for file searching)
  • rg (for file content searching)
  • fzf (for quick file subtree navigation) (recommended)
  • zoxide (for historical directory navigation) (recommended)
  • ImageMagick (for SVG, Font, HEIC, and JPEG XL preview) (recommended)
  • xclip / wl-clipboard / xsel (for system clipboard support)

If the functions are not working properly, please try upgrading them to the latest version.

💡
In some versions of Debian and Ubuntu, some dependencies may be out of date. This may cause Yazi to malfunction.
If so, you need to manually build them from the latest source.


References

Yazi [1]


  1. Yazi homepage, GitHub, Documentation, Binaries, , ↩︎