Skip to main content

Prerequisites

Required Dependency

ToolPurpose
fileMIME type detection for all files. Yazi uses file to determine file types and select the appropriate previewer or opener.

On most distributions file is pre-installed. If missing:

# Debian/Ubuntu
sudo apt install file

# Fedora/RHEL
sudo dnf install file

# macOS
brew install file

# Arch
sudo pacman -S file

Optional Dependencies

ToolEnables
Nerd FontsIcon display in file lists, tabs, and UI elements
ffmpegVideo thumbnail generation (uses ffmpegthumbnailer)
7-ZipArchive preview and extraction (7z, 7zz)
jqJSON file preview
popplerPDF preview via pdftoppm
fdFile searching — press s to search by filename
ripgrepFile content searching — press S for full-text search
fzfQuick file subtree navigation (version >= 0.53.0)
zoxideHistory-based directory jumping — press z to fuzzy-navigate recent dirs
resvgSVG file preview
ImageMagickFont preview, HEIC, JPEG XL, and other exotic image formats
xclip / wl-clipboardSystem clipboard integration (X11 / Wayland)

Installation by Platform

Arch Linux
sudo pacman -S ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick
Debian / Ubuntu
sudo apt install ffmpeg 7zip jq poppler-utils fd-find ripgrep fzf zoxide
macOS (Homebrew)
brew install ffmpeg-full sevenzip jq poppler fd ripgrep fzf zoxide resvg imagemagick-full
info

Yazi works without any optional dependencies — it just shows plain text previews for unsupported file types. Add tools as you need them.