Interactive cheatsheet tool that runs your command-line snippets

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Developers who keep half-remembered one-liners in text files can instead run searchable, fillable cheatsheets directly from the terminal with navi.

Read this as

Navi is a free, open-source tool that turns your saved command-line snippets into an interactive cheatsheet you can search and run. Instead of copy-pasting a command and fixing its placeholder arguments by hand, navi shows suggested values as a list you pick from. It runs on macOS and Linux and installs via many package managers. It matters most to developers who repeatedly look up the same commands.

Navi, hosted at github.com/denisidoro/navi, is a free open-source utility that executes cheatsheet commands rather than just displaying them, cutting the copy-paste-edit cycle around memorised shell syntax. There is no vendor lock-in, pricing or licensing cost stated beyond open source. Competing tools like tldr and cheat.sh are supported as cheatsheet sources. For teams doing heavy terminal work, it is a low-risk productivity adoption; for others, negligible.

Navi is an interactive cheatsheet tool built on fzf or skim for fuzzy search. Cheatsheets are .cheat files with tag lines, comments, commands and variable-population expressions, e.g. '$ branch: git branch | awk '{print $NF}''. Invocation options include a command mode, a shell widget that populates history with the executed command rather than 'navi', a Tmux widget that works over SSH, and a scripting mode. Cheatsheets default to ~/.local/share/navi/cheats/ and can be imported from git repos or tldr/cheat.sh.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Navi fzf skim tldr cheat.sh Tmux TiddlyWiki

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading