TL;DR — Quick Summary

navi is an interactive cheatsheet tool. Browse community and personal command snippets with fuzzy search, fill in parameters, and execute — never forget a command again.

navi is your command memory. Fuzzy search cheatsheets, fill in parameters, execute — never forget a command.

Installation

# macOS
brew install navi

# Cargo
cargo install navi

Usage

# Launch interactive cheatsheet
navi

# Add community cheatsheets
navi repo add denisidoro/cheats

# Query mode (non-interactive)
navi --query 'docker'

# Widget mode (shell integration)
# Bash: add to .bashrc
eval "$(navi widget bash)"
# Zsh: add to .zshrc
eval "$(navi widget zsh)"
# Fish
navi widget fish | source

# Print cheatsheet path
navi info cheats-path

# Edit cheatsheets
navi edit

Custom Cheatsheets

# ~/.local/share/navi/cheats/my_cheats.cheat
% git, version control

# Undo last commit (keep changes)
git reset --soft HEAD~1

# Find large files in history
git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | sed -n 's/^blob //p' | sort -rnk2 | head -<n>

$ n: echo "10 20 50"

Summary

  • navi is an interactive cheatsheet with fuzzy search
  • Community and custom cheatsheet collections
  • Parameter interpolation with tab completion
  • Shell widget for Bash, Zsh, Fish integration
  • Written in Rust — instant search, cross-platform