Getting Started with Yazi / Chapter 1 — Getting Started with Yazi (lessons 1–4) / Lesson 1
What Yazi Is: A Terminal File Manager
Time needed: about 10 min (estimate)
Reading settings
These settings are remembered on this device only.
You can try the opening of this lesson without an account.
A file manager that runs in your terminal
Yazi is a file manager that runs inside your terminal. Instead of typing cd and ls over and over, you press keys to move between directories, peek inside files, and copy or move them. The name comes from the Chinese word for duck, and it is written in Rust. This course walks through using it to handle files quickly and safely, all the way to configuration, plugins, and wiring it up to other tools.
Why it is fast: asynchronous I/O
Yazi's README describes itself as "non-blocking async I/O". All file reads and writes are asynchronous, and heavy computation is spread across several threads, so the screen doesn't freeze while you open a huge directory or run a copy. Heavy jobs like copying are handled as tasks that you can watch and cancel midway (Lesson 9). Previews are sped up by loading ahead of time (preloading).
Three columns: parent, current, preview
The screen is split into three columns, from left to right: the parent directory, the current directory, and a preview. As you move the cursor in the middle column, the right column shows what's inside that file or directory. The column widths come from ratio = [ 1, 4, 3 ] under [mgr] in the default yazi.toml. The Python below turns that ratio into percentages.
Tab indents. To leave the editor, press Esc, then Tab.
Create a free account to keep reading
With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.
Report a problem with this lesson
Log in to send a report.