An interactive cheatsheet tool for the command-line. Find and run commands from curated cheatsheets.
navi is an interactive cheatsheet tool for the command-line that helps users browse, search, and execute commands without memorizing complex CLI syntax. It allows you to create and manage cheatsheets that contain reusable commands with dynamic argument suggestions, making it easier to discover and run one-liners and complex commands.
The tool uses fzf or skim under the hood to provide a fast, fuzzy-search interface for finding commands. What sets navi apart is its ability to suggest values for command arguments dynamically, often by running intermediate commands to populate lists of options. This eliminates the need to copy-paste output between commands or remember exact parameter names.
navi can be used in multiple ways: as a standalone command, as a shell widget (similar to Ctrl-R for history), as a Tmux widget for SSH sessions, or integrated into shell scripts. It's particularly valuable for developers, system administrators, and anyone who regularly uses complex command-line tools but doesn't want to memorize every flag and option.
The tool supports importing cheatsheets from various sources including git repositories, tldr pages, and cheat.sh, while also allowing users to write and share their own custom cheatsheets using a simple syntax format.
# via Homebrew
brew install navi