IDE and terminal snippets
What is Navi? An introduction to denisidoro's interactive command-line cheatsheet tool
Navi is an interactive cheatsheet tool for the command line. It lets you browse cheatsheets, which you can write yourself or download from maintainers, and execute commands from them with argument values suggested dynamically in a list. It is aimed at people who would rather not memorize CLI commands.
- Tool
- Navi
- Made by
- denisidoro
- Official site
- github.com/denisidoro/navi
- Category
- IDE and terminal snippets
Who makes Navi
Navi is published by denisidoro and developed as an open project on GitHub. The project is licensed under Apache-2.0 and tagged as a Rust project.
The official website is the project's GitHub repository, linked below. The project is in maintenance mode: it still receives bug fixes, but no new features are planned.
Official website: github.com/denisidoro/navi
What Navi is for
Navi is for finding and running command-line commands without having to remember their exact syntax. You browse a collection of cheatsheets, pick an entry, and execute the command from it.
When a command takes arguments, navi displays suggested values for them dynamically in a list. Under the hood it uses fzf or skim for the interactive selection.
Who Navi is for
The vendor describes the audience as command-line users and people who want to avoid memorizing CLI commands. If you regularly look up the same flags, paths or argument values, a searchable cheatsheet that fills in suggestions fits that habit.
Because navi can also be used as a shell scripting tool, it extends to people who want to reuse the same cheatsheet material inside scripts.
Notable capabilities
The capabilities below cover how navi is invoked, where its cheatsheets come from, and how they are written.
- Interactive browsing: you can browse cheatsheets and execute commands from them, with suggested argument values shown dynamically in a list.
- Shell widget mode: navi can be used as a shell widget similar to Ctrl-R. The shell history is populated with the actual command that was run, and you can edit the command before executing it.
- Works in any command-line app: as a shell widget, cheatsheets can be used in any command-line app, including SSH sessions.
- Command and scripting use: navi can be run as a command, and it can also be used as a shell scripting tool. Running navi directly gives access to all subcommands and flags.
- Importing from git: you can import cheatsheets from git repositories. By default, cheatsheets are stored at ~/.local/share/navi/cheats/.
- Compatible sources: cheatsheets from other tools such as tldr and cheat.sh can be used.
- TiddlyWiki export: cheatsheets can be auto-exported from TiddlyWiki notes using a plugin.
- Plain cheatsheet files: cheatsheets are described in .cheat files, so you can write your own.
How Navi fits IDE and terminal snippets
In the category of IDE and terminal snippets, navi sits on the terminal side. Rather than expanding an abbreviation inside an editor, it gives you a searchable list of commands that you run in the shell, with argument values suggested as you go.
Within Snipspire's wider niche of snippet managers, code paste and developer snippet tools, navi treats a command as the snippet. Its cheatsheets are plain .cheat files that can come from your own writing, git repositories or other cheatsheet tools, which makes them easy to keep and share as text. Its maintenance-mode status is worth knowing if you are weighing it for long-term use: bug fixes continue, but no new features are planned.
Frequently asked questions
What is Navi used for?
Navi is used to browse command-line cheatsheets and execute commands from them. Suggested values for command arguments are displayed dynamically in a list, so you do not need to memorize every command.
Who develops Navi?
Navi is published by denisidoro, and its official website is the project's GitHub repository. It is licensed under Apache-2.0 and tagged as a Rust project.
Does Navi work over SSH?
Yes. When used as a shell widget, cheatsheets can be used in any command-line app, including SSH sessions.
Can Navi use cheatsheets from tldr or cheat.sh?
Yes. Cheatsheets from other tools such as tldr and cheat.sh can be used. You can also import cheatsheets from git repositories or auto-export them from TiddlyWiki notes with a plugin.
Is Navi still being developed?
Navi is in maintenance mode. It still gets bug fixes, but no new features are planned.
Snipspire is independent and is not affiliated with denisidoro. Product names belong to their owners. Features change; confirm details on the official website.