Ranger File Manager in Termux – Installation & Usage Guide

Ranger is a simple terminal-based file manager that helps you browse, manage, copy, move, rename, and delete files using keyboard shortcuts. It provides a clean interface with directory previews, making file management faster and easier than using standard Linux commands. You can install and use Ranger in Termux to view and manage files and folders from the terminal.

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

  • Browse files and folders.
  • Copy, move, rename, and delete files.
  • Preview files inside the terminal.
  • Navigate directories quickly.
  • Open files with supported applications.
  • Manage files using keyboard shortcuts.

Install Ranger in Termux

Below are the simple commands to install Ranger in Termux. Copy and run each command one by one to install the tool.

Update Termux packages.

pkg update && pkg upgrade -y

Install Ranger.

pkg install ranger -y

Check the installed version.

ranger --version

Ranger is now installed and ready to use.

Use Ranger in Termux

Below are some useful Ranger commands that you can use in Termux to open the file manager, configure it, and manage files and folders from the terminal.

Open Ranger.

ranger

Open Ranger in a specific directory.

ranger ~/Download

Show the Ranger help page.

ranger --help

Display the installed version.

ranger --version

Copy the default configuration files.

ranger --copy-config=all

Open the configuration directory.

cd ~/.config/ranger

Basic Ranger Keyboard Shortcuts:

  • Arrow Keys or J / K : Move up and down.
  • L or Enter : Open a folder or file.
  • H : Go to the parent directory.
  • G : Go to the bottom of the file list.
  • gg : Go to the top of the file list.
  • Space : Select a file or folder.
  • yy : Copy the selected file.
  • dd : Cut the selected file.
  • pp : Paste copied or cut files.
  • r : Rename a file or folder.
  • dD : Delete the selected file or folder.
  • / : Search for files.
  • q : Quit Ranger.

Use these keyboard shortcuts inside Ranger to quickly browse directories, manage files, and perform different file operations.

End Note

Ranger is a useful terminal file manager in Termux. You can use it to browse folders, manage files, and perform different file operations easily using simple commands and keyboard shortcuts.

SHARE THIS POST: