💥 Blazing fast terminal file manager written in Rust, based on async I/O.
Find a file
Mario c11064c3aa
feat(pkg): add --force flag to skip hash verification on upgrade, install, and delete
When upgrading yazi across versions, the content hash computation may
change, causing false "You have modified the contents" errors on
packages the user never touched. This leaves users unable to upgrade,
install, or delete any managed package without manually deleting each
one first.

Add a --force/-f flag to `ya pkg upgrade`, `ya pkg install`, and
`ya pkg delete` that skips the hash_check, allowing the operation to
proceed. A warning is printed when the check is skipped. The error
message now also suggests --force as a remedy.

Closes #2735, #3291
2026-03-20 14:05:44 +08:00
.cargo fix: avoid appending a newline when reading clipboard contents (#3059) 2025-08-14 11:26:46 +08:00
.github feat: new hovered condition specifying different icons for hovered files (#3728) 2026-03-03 20:18:55 +08:00
assets refactor: async Command over emitting shell actions (#3706) 2026-02-22 10:31:15 +08:00
nix feat: install manpages from flake (#3417) 2025-12-09 22:55:24 +08:00
scripts fix: use edit opener for files with MIME application/wine-extension-ini (#3771) 2026-03-16 13:29:03 +08:00
snap feat: introduce the concept of Uri (#3049) 2025-08-13 01:38:43 +08:00
yazi-actor feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-adapter feat: new experimental ya.co() API that creates a coroutine (#3757) 2026-03-12 16:18:30 +08:00
yazi-binding feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-boot refactor: implement FromLua instead of TryFrom<Value> (#3760) 2026-03-13 20:28:44 +08:00
yazi-build fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-cli feat(pkg): add --force flag to skip hash verification on upgrade, install, and delete 2026-03-20 14:05:44 +08:00
yazi-codegen fix: shift of auto-wrap points in both code and JSON previewers (#3739) 2026-03-05 20:16:03 +08:00
yazi-config feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-core feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-dds feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-emulator fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-ffi fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-fm feat: new ya.exec() API and ya exec subcommand to execute an action and await its result (#3780) 2026-03-18 19:18:36 +08:00
yazi-fs perf: preset multi spotter only updates sizes for folders to cut memory usage (#3751) 2026-03-10 12:39:19 +08:00
yazi-macro fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-packing fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-parser feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-plugin feat: new ya.exec() API and ya exec subcommand to execute an action and await its result (#3780) 2026-03-18 19:18:36 +08:00
yazi-proxy feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-scheduler refactor: make Clippy happy 2026-03-17 09:41:46 +08:00
yazi-sftp fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-shared feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
yazi-shim fix: shift of auto-wrap points in both code and JSON previewers (#3739) 2026-03-05 20:16:03 +08:00
yazi-term feat: new ya.exec() API and ya exec subcommand to execute an action and await its result (#3780) 2026-03-18 19:18:36 +08:00
yazi-tty fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-vfs perf: preset multi spotter only updates sizes for folders to cut memory usage (#3751) 2026-03-10 12:39:19 +08:00
yazi-watcher fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
yazi-widgets feat: make cmp component follow input cursor (#3784) 2026-03-19 21:19:10 +08:00
.envrc refactor(nix): add shell completion and avoid impure (#293) 2023-10-22 08:10:53 +08:00
.gitignore ci: validate form 2025-02-21 20:07:34 +08:00
.luarc.json feat!: upgrade Lua to 5.5 (#3633) 2026-01-29 01:08:22 +08:00
Cargo.lock feat: new ya.exec() API and ya exec subcommand to execute an action and await its result (#3780) 2026-03-18 19:18:36 +08:00
Cargo.toml feat: new ya.exec() API and ya exec subcommand to execute an action and await its result (#3780) 2026-03-18 19:18:36 +08:00
CHANGELOG.md feat: new ya.exec() API and ya exec subcommand to execute an action and await its result (#3780) 2026-03-18 19:18:36 +08:00
CODE_OF_CONDUCT.md fix!: eliminate the x- prefix in mime-types (#1927) 2024-11-21 15:06:07 +08:00
CONTRIBUTING.md feat: make ui.Line renderable (#2743) 2025-05-10 11:50:06 +08:00
cspell.json feat: dual watcher for local files (#3713) 2026-02-26 08:16:58 +08:00
flake.lock chore: update flake inputs (#3731) 2026-03-03 09:41:15 +08:00
flake.nix fix: wrong intersection check in preview and spot rendering (#3736) 2026-03-04 15:36:13 +08:00
LICENSE fix: typo of LICENSE file (#201) 2023-09-21 23:11:51 +08:00
LICENSE-ICONS feat!: redesign icons (#1086) 2024-05-25 22:56:08 +08:00
README.md docs: update image 2026-03-11 13:06:06 +08:00
rustfmt.toml fix: warnings should be output to stderr instead of stdout (#1669) 2024-09-21 20:12:35 +08:00
stylua.toml feat: make mimetype matching more robust (#3082) 2025-08-19 15:17:32 +08:00

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 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
  • 💫 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 Renaming, Archive Extraction, Visual Mode, File Chooser, Git Integration, Mount Manager
  • 🎨 Theme System, Mouse Support, Trash Bin, Custom Layouts, CSI u, OSC 52
  • ... 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

Platform Protocol Support
kitty (>= 0.28.0) Kitty unicode placeholders Built-in
iTerm2 Inline images protocol Built-in
WezTerm Inline images protocol Built-in
Konsole Kitty old protocol Built-in
foot Sixel graphics format Built-in
Ghostty Kitty unicode placeholders Built-in
Windows Terminal (>= v1.22.10352.0) Sixel graphics format Built-in
st with Sixel patch Sixel graphics format Built-in
Warp (macOS/Linux only) Inline images protocol Built-in
Tabby Inline images protocol Built-in
VSCode Inline images protocol Built-in
Rio Inline images protocol Rio renders images at incorrect sizes
Black Box Sixel graphics format Built-in
Bobcat Inline images protocol Built-in
X11 / Wayland Window system protocol ☑️ Überzug++ required
Fallback ASCII 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.