Yazi in Termux – File Management Commands & Shortcuts

Yazi is a simple terminal file manager that helps you browse and manage files easily in Termux. You can browse folders, open files, search for files, and move around your Android storage using a simple keyboard-based interface. It also supports useful tools for file searching and media previews, so you can manage your files more easily from the terminal.

Here’s what you can do with Yazi in Termux:

  • Browse files and folders.
  • Navigate through Android storage.
  • Open and manage files from the terminal.
  • View file previews.
  • Search files quickly.
  • Use keyboard shortcuts for file management.
  • Work with media files using FFmpeg.
  • Use ripgrep and fd for faster file searching.

Install Yazi in Termux

Below are the simple commands to install Yazi and its required packages in Termux. Copy and run each command one by one.

Install Yazi.

pkg install yazi

Install FFmpeg for media file support.

pkg install ffmpeg

Install ripgrep for fast text searching.

pkg install ripgrep

Install fd for fast file searching.

pkg install fd

Allow Termux to access your device storage.

termux-setup-storage

After running the command, allow the storage permission when Android asks for it.

Yazi and its required packages are now installed and ready to use.

Use Yazi in Termux

Run Yazi from the current directory.

yazi

You can also start Yazi directly in the Android internal storage.

cd /sdcard
yazi

Yazi interface will open in the terminal, where you can browse your files and folders.

Set a starting directory.

yazi /sdcard/Download

This opens Yazi directly in the Download folder.

Navigation Shortcuts

You can use the following shortcuts to navigate through files and folders in Yazi:

  • ↑ / ↓ – Move up and down through files.
  • – Go back to the previous directory.
  • – Open the selected directory.
  • q – Quit Yazi.
  • g – Go to the top of the file list.
  • G – Go to the bottom of the file list.
  • Space – Select or unselect a file.
  • / – Search for a file or folder.
  • Tab – Switch between panels.

Show the help menu.

yazi --help

Display the installed version.

yazi --version

Write the current working directory to a file when Yazi exits.

yazi --cwd-file cwd.txt

Write selected files to a file when the chooser is opened.

yazi --chooser-file selected.txt

Clear the Yazi cache.

yazi --clear-cache

Use a specific client ID.

yazi --client-id 1

Print debug information.

yazi --debug

You can start Yazi in any folder by using cd first. For example:

cd /sdcard/Download
yazi

You can use these commands and shortcuts to browse folders, open files, search for files, and manage your Android storage.

End Note

Yazi provides a simple way to manage files and folders in Termux. It lets you move through your storage, open files, search for items, and use keyboard shortcuts for faster navigation. Yazi is a useful choice for browsing and organizing files from your Android device.

SHARE THIS POST: