README.md
An interactive cheatsheet tool for the command-line.
navi allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands. Suggested values for arguments are dynamically displayed in a list.
It uses fzf or skim under the hood and it can be either used as a command or as a shell widget (à la Ctrl-R).
The recommended way to install navi is by running:
brew install navi
[!NOTE] For more details on how to install Navi, see docs/installation
navi can be installed with the following package managers:
There are multiple ways to use navi:
navi in the terminal
navi) and you can edit the command as you wish before executing itIn particular, check these instructions if you want to replicate what's shown in the demo above.
Running navi for the first time will help you download and manage cheatsheets. By default, they are stored at ~/.local/share/navi/cheats/.
You can also:
Cheatsheets are described in .cheat files that look like this:
% git, code
# Change branch
git checkout <branch>
$ branch: git branch | awk '{print $NF}'
The full syntax and examples can be found here.
You can:
Please run the following command to read more about all possible options:
navi --help
In addition, please check the /docs folder or the website.