nnn
$ nnn Community Med Risknnn is a tiny, zero-bloat C terminal file manager offering disk usage (-S), detail view (-d), and shell plugin hooks. Because nnn immediately opens an interactive ncurses TUI, headless agents should use dua/ncdu for disk usage or fd/eza for listing.
brew install nnn Use fd, eza, or dysk/dua instead of interactive nnn or heavy MCP wrappers for agent filesystem tasks.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Interactive ncurses TUI hangs non-TTY agent shells and lacks --json output; only -V and -h exit cleanly without a terminal.
- Interactive ncurses TUI requires TTY input
- Only
-Vand-hexecute headlessly
Operates purely on local files without credentials, though interactive keys (x delete, r rename) and plugins can modify or delete files.
- Local filesystem tool with optional trash-cli integration
Tiny C binary packaged across macOS (brew install nnn) and nearly all Linux distros; Windows requires WSL/Cygwin.
- POSIX ncurses dependency limits native Windows builds
Remarkably fast for human terminal navigation, but offers little utility to headless coding agents.
- Built around interactive single-keystroke navigation
Well-maintained BSD-2-Clause C project (jarun/nnn) with stable releases.
- Established
jarun/nnnupstream project
Detailed nnn(1) man page and GitHub wiki covering flags and plugin configuration.
- Comprehensive man page and wiki
Security, Auth & Guardrails
None required; stores session state and plugins under ~/.config/nnn/.
100% free, offline, and open-source (BSD-2-Clause).
# nnn Agent Rules - NEVER run `nnn` (or `nnn -S`) in a non-TTY agent shell—it enters an interactive ncurses TUI. - Only run `nnn -V` or `nnn -h` for diagnostics; use `dua` or `gdu -n -o -` for headless disk usage.
Agent-Ready Command Recipes
Safe Read-Only Queries
nnn -V
Displays the nnn version string and exits immediately without opening the ncurses TUI.
Strengths for Agents
- + Minimal C footprint with instant
-V/-hdiagnostic output. - + Rich plugin ecosystem and
-Sdisk usage view for human terminal sessions.
Caveats & Pitfalls
- ! Interactive ncurses TUI blocks non-TTY agent subshells.
- ! No
--jsonoutput or non-interactive listing mode.