Interactive command-line cheatsheet tool that lets you browse, search, and execute commands with dynamic argument suggestions
navi is an interactive cheatsheet tool that helps users discover and execute command-line commands without memorizing syntax. It provides a searchable interface for browsing through collections of cheatsheets, displaying commands with suggested values for arguments dynamically generated from command output. The tool uses fzf or skim for fuzzy searching and can be invoked directly via the navi command or integrated as a shell widget similar to Ctrl-R history search.
The tool supports multiple usage modes including standalone terminal usage, shell widget integration for proper history population, Tmux widget support for SSH sessions, and shell scripting automation. Users can download featured cheatsheets, import from git repositories, or write custom cheatsheets using a simple .cheat file format. Cheatsheets are stored locally at ~/.local/share/navi/cheats/ and can be sourced from external tools like tldr and cheat.sh.
navi targets developers and system administrators who frequently work with complex CLI tools but don't want to memorize every command syntax. The cheatsheet format allows for parameterized commands where argument values can be dynamically populated from command output, reducing copy-paste workflows and enabling command discovery through an interactive interface.
# via Homebrew
brew install navi