mcpField
Y
Yazi

Yazi

OfficialFeatured
github.comDeveloper Tools43.1kyaziUpdated today
RepositoryVisit website

About Yazi

Yazi is a modern console file manager built on asynchronous I/O for responsive file operations. It provides rich previews for images, videos, code, and archives, plus a plugin system for extending functionality.

Key features

  1. 01Load file listings and previews asynchronously for smooth interaction
  2. 02Preview images, videos, code files, and archive contents in the terminal
  3. 03Extend capabilities and customize workflows with plugins
  4. 04Support drag-and-drop operations, bookmarks, and session recovery

Use cases

  1. 01Maintain responsiveness when working with large file counts or slow file systems
  2. 02Preview various file types quickly before confirming actions
  3. 03Implement custom file handling or workflow automation through plugins

Install

Pick your OS or package manager and run the command in a terminal.

$
brew install yazi ffmpeg sevenzip jq poppler fd ripgrep fzf zoxide imagemagick

Once installed, runyazi --versionto confirm it works.

Example commands

Common commands in the order you’d use them.

01
yazi

Details

From the project README

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.

💡 A new article explaining its internal workings: Why is Yazi Fast?

  • 🚀 Full Asynchronous Support: All I/O operations are asynchronous, CPU tasks are spread across multiple threads, making the most of available resources.
  • 💪 Powerful Async Task Scheduling and Management: Provides real-time progress updates, task cancellation, and internal task priority assignment.
  • 🖼️ Built-in Support for Multiple Image Protocols: Also integrated with Überzug++ and Chafa, covering almost all terminals.
  • 🌟 Built-in Code Highlighting and Image Decoding: Combined with the pre-loading mechanism, greatly accelerates image and normal file loading.
  • 🔌 Concurrent Plugin System: UI plugins (rewriting most of the UI), functional plugins, custom previewer/preloader/spotter/fetcher; Just some pieces of Lua.
  • ☁️ Virtual Filesystem: Remote file management, custom VFS provider, custom search engines.
  • 📡 Data Distribution Service: Built on a client-server architecture (no additional server process required), integrated with a Lua-based publish-subscribe model, achieving cross-instance communication and state persistence.
  • 📦 Package Manager: Install plugins and themes with one command, keeping them up-to-date, or pin them to a specific version.
  • 🧰 Integration with ripgrep, fd, fzf, zoxide, Rclone
  • 💫 Vim-like input/pick/confirm/which/notify component, auto-completion for cd paths
  • 🏷️ Multi-Tab Support, Cross-directory selection, Scrollable Preview (for videos, PDFs, archives, code, directories, etc.)
  • 🔄 Bulk Rename/Create, Archive Extraction, Visual Mode, File Chooser, Git Integration, Mount Manager
  • 🎨 Theme System, Mouse Support, Drag and Drop, Trash Bin, Custom Layouts, CSI u, OSC 52, CSI 2031
  • ... and more!

https://github.com/sxyazi/yazi/assets/17523360/92ff23fa-0cd5-4f04-b387-894c12265cc7

Project status

Public beta, can be used as a daily driver.

Yazi is currently in heavy development, expect breaking changes.

Documentation

Discussion

Image Preview

PlatformProtocolSupport
kitty (>= 0.28.0)Kitty unicode placeholders✅ Built-in
iTerm2Inline images protocol✅ Built-in
WezTermInline images protocol✅ Built-in
KonsoleKitty old protocol✅ Built-in
footSixel graphics format✅ Built-in
GhosttyKitty unicode placeholders✅ Built-in
Windows Terminal (>= v1.22.10352.0)Sixel graphics format✅ Built-in
st-graphicsKitty unicode placeholders✅ Built-in
Warp (macOS/Linux only)Inline images protocol✅ Built-in
TabbyInline images protocol✅ Built-in
VSCodeInline images protocol✅ Built-in
Rio (>= 0.3.9)Kitty unicode placeholders✅ Built-in
Black BoxSixel graphics format✅ Built-in
BobcatInline images protocol✅ Built-in
X11 / WaylandWindow system protocol☑️ Überzug++ required
FallbackASCII art (Unicode block)☑️ Chafa required (>= 1.16.0)

See https://yazi-rs.github.io/docs/image-preview for details.

Special Thanks

RustRover logo

Thanks to RustRover team for providing open-source licenses to support the maintenance of Yazi.

Active code contributors can contact @sxyazi to get a license (if any are still available).

License

Yazi is MIT-licensed. For more information check the LICENSE file.

Comments

Markdown supported