# nnn

> Terminal file manager with disk usage analysis, batch operations, and extensive plugin ecosystem

Stars: 22.1k · Language: C · License: BSD-2-Clause · Categories: File Management

- Repository: https://github.com/jarun/nnn
- Page: https://www.trmn.sh/tools/nnn

## Overview

nnn is a terminal file manager that combines navigation, file operations, and system analysis capabilities in a minimal interface. The tool provides standard file management operations like copy, move, delete, and rename, along with advanced features including disk usage analysis, batch renaming, and cross-directory selection. It supports fuzzy search, regex filtering, and multiple sorting methods including natural sort for numeric filenames.

The file manager includes a comprehensive plugin system with extensions for live file previews, mounting/unmounting disks, file diff operations, and cloud uploads. It integrates with external tools through configurable openers and supports desktop environment integration while maintaining full CLI compatibility. Sessions and bookmarks enable workspace management, while contexts provide tab-like functionality for managing multiple directory views.

nnn targets users who prefer keyboard-driven workflows and minimal resource usage - it typically consumes less than 3.5MB of memory and produces binaries around 100KB. The tool runs across Unix-like systems including Linux, macOS, BSD variants, and mobile platforms via Termux. Integration options include vim/neovim plugins and shell configuration for directory synchronization on quit.

![nnn file manager interface screenshot](https://media.trmn.sh/cached/f572d19571ee94f3ade6d81246efa420872563d0dd0855d21dd56e490fdad885.jpg)

![nnn demo video thumbnail](https://media.trmn.sh/cached/de78ba78ed0af56fbf9cf68d76ba36bbcb7c0502465474ae8b4025c64ab8d294.jpg)

## Alternatives

- [ImageMagick](https://www.trmn.sh/tools/imagemagick.md): Open-source C software suite with a command-line interface and APIs for creating, editing, converting, and composing bitmap images in 200+ formats. (C, 17.8k stars)
- [eza](https://www.trmn.sh/tools/eza.md): Modern replacement for ls with colors, Git integration, tree view, and extended file metadata display. (Rust, 23.7k stars)
- [superfile](https://www.trmn.sh/tools/superfile.md): Terminal-based file manager with dual-pane interface, written in Go (Go, 24.0k stars)
- [exa](https://www.trmn.sh/tools/exa.md): Modern replacement for ls with colors, Git integration, and extended file metadata display (24.4k stars)
- [ranger](https://www.trmn.sh/tools/ranger.md): Console file manager with VI key bindings, multi-column display, and file preview capabilities (Python, 17.4k stars)

## Guides

- [Best Terminal File Managers](https://www.trmn.sh/best/terminal-file-managers): Compare terminal file managers: yazi, nnn, ranger, lf, broot and more. Differences in previews, plugins, footprint and keybindings.

---

Canonical: https://www.trmn.sh/tools/nnn
