navi logo

navi

Interactive cheatsheet tool that helps you browse, search, and execute CLI commands with dynamic argument suggestions

install· Homebrew

navi is an interactive cheatsheet tool that provides a searchable interface for command-line snippets and one-liners. It uses fzf or skim to create a fuzzy-searchable menu of commands from cheatsheet files, allowing users to browse through pre-written commands and execute them directly. The tool dynamically displays suggested values for command arguments in a list format, reducing the need to memorize complex CLI syntax.

The tool supports multiple usage modes including standalone terminal execution, shell widget integration (similar to Ctrl-R history search), Tmux widget support for SSH sessions, and shell scripting automation. Users can download community-maintained cheatsheets, import repositories from Git, or write custom .cheat files using a simple syntax that defines commands and their parameter options. The cheatsheet format supports variable substitution where arguments are populated through command execution.

navi integrates with existing tools like tldr and cheat.sh, supports auto-updating repositories, and offers extensive customization options for colors, column sizing, and search behavior. It's particularly useful for developers, system administrators, and anyone who frequently uses complex command-line tools but doesn't want to memorize all the syntax variations.

Installation

# via Homebrew
brew install navi

navi demo

Alternatives & related tools

add a badge to your README

Maintain navi? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/navi.svg)](https://www.trmn.sh/tools/navi?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/navi?utm_source=badge"><img src="https://www.trmn.sh/badge/navi.svg" alt="Featured on trmn" height="20"></a>