Skip to main content

Navi Cheatsheet Introduction

· One min read
Ilham Surya
SRE Engineer - Fullstack Enthusiast - Go, Python, React, Typescript

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.

Alt text

Mac Installation

brew install navi

File Configuration

By default its installed on local folder

.local/share/navi/cheats/.

For my case, i installed it in the Library folder

./Library/Application Support/navi/cheats

Cheatsheet creation

It using this structure to grouping the cheatsheet. you can also manage it to different folder to easier maintenance

% git, code

# Change branch
git checkout <branch>

$ branch: git branch | awk '{print $NF}'

Usage

Simply type navi, and then you will get this screen

Alt text

you can also print-out command (not executing it) by using this command

navi --print