NNN File Manager in Termux – Installation & Usage Commands

nnn is a simple and fast terminal file manager that helps you browse, organize, and manage files from the command line. It supports bookmarks, plugins, hidden files, multiple sorting options, and many other features. It is lightweight, keyboard-driven, and designed to provide a smooth file management experience.

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

  • Browse files and directories.
  • Manage files from the terminal.
  • Show hidden files.
  • Sort files in different ways.
  • Open files with your preferred editor.
  • Use bookmarks and plugins.
  • Navigate quickly with keyboard shortcuts.

Install nnn in Termux

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

Install nnn.

pkg install nnn -y

Verify the installation.

nnn -V

nnn is now installed and ready to use.

Use nnn in Termux

After installing nnn, you can use different commands to browse directories, view hidden files, sort files, and perform various file management tasks

Start nnn in the current directory.

nnn

You can navigate nnn using the following keyboard shortcuts:

  • ↑ / ↓ Arrow Keys – Move between files and directories.
  • ← Arrow Key or Backspace – Go to the previous directory.
  • → Arrow Key or Enter – Open the selected file or directory.
  • q – Quit the nnn file manager.
  • / – Search for files or directories.
  • h – Show or hide hidden files.
  • Space – Select or deselect a file.
  • ? – Display the keyboard shortcuts and help screen.

Display the help menu.

nnn -h

The help menu will display the available options.

Show hidden files.

nnn -H

Start in detail mode.

nnn -d

Display information about the current file.

nnn -i

Open files only when Enter is pressed.

nnn -o

Open a bookmarked location.

nnn -b a

Run a plugin.

nnn -P p

Start with a persistent session.

nnn -S

Load a saved session.

nnn -s mysession

Sort files by modification time.

nnn -T t

Show the installed version.

nnn -V

Start nnn in a specific directory.

nnn /sdcard

Use these available commands and keyboard shortcuts to browse directories, open files, manage folders, and customize the file manager.

End Note

nnn is a simple and fast terminal file manager for browsing and managing files. It is easy to use, lightweight, and provides many useful features for working with files from the terminal.

SHARE THIS POST: