# Install navi with Homebrew, apk, dnf, MacPorts, Nix, pacman, scoop

Interactive cheatsheet tool for the command-line. Version 2.24.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#navi.

## Install

```sh
sudo av install brew:navi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install navi
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install navi
```

  Evidence: MacPorts ports tree: sysutils/navi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add navi
```

  Evidence: Alpine Linux edge package indexes: navi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install navi
```

  Evidence: Fedora Rawhide package metadata: navi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#navi
```

  Evidence: nixpkgs package indexes: pkgs/by-name/na/navi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S navi
```

  Evidence: Arch Linux sync databases: navi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/navi
```

  Evidence: Scoop official bucket manifest trees: bucket/navi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:navi
- **Package manager:** Homebrew
- **Version:** 2.24.0
- **Source summary:** Interactive cheatsheet tool for the command-line
- **Homepage:** <https://github.com/denisidoro/navi>
- **Repository:** <https://github.com/denisidoro/navi>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- navi (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.24.0
## Project history and usage

navi is a Rust command-line cheatsheet browser that lets users search command snippets, fill arguments interactively, and execute the result. It sits between shell history, snippet managers, and TLDR-style examples.

### Project history

The GitHub repository was created on 2019-09-20. The README describes navi as an interactive cheatsheet tool for the command line and says it can be used as a command, shell widget, tmux widget, alias helper, or shell scripting tool.

The project grew around an ecosystem of cheatsheet repositories. The companion `denisidoro/cheats` repository was created on 2020-03-15 and its README says navi prompts first-time users to download `.cheat` files from it.

### Adoption history

navi has stronger adoption signals than most small terminal helpers in this batch: GitHub repository metadata consulted on 2026-07-01 showed more than 17,000 stars, and Homebrew analytics listed 4,169 installs over the preceding 365 days. It is packaged across several ecosystems, including Homebrew, Alpine, Fedora, MacPorts, Nix, Arch, and Scoop in the input package record.

### How it is used

Users run `navi` to browse cheatsheets, bind it as a shell widget for editable command insertion, or use tmux integration. The docs describe manually adding cheatsheets to the platform cheats path, using cheatsheet repositories, and querying TLDR or cheat.sh content with `navi --tldr <query>` and `navi --cheatsh <query>`.

### Why package nerds care

navi is notable because it packages personal operational knowledge as versionable text. For package maintainers and terminal-tool collectors, it is an example of a CLI whose value is partly the binary and partly the shared data format and repositories around it.

### Timeline

- 2019-09-20: GitHub repository created.
- 2020-03-15: `denisidoro/cheats` community cheatsheet repository created.
- 2022-04-05: navi reached a Hacker News discussion with 132 points, reflecting broader terminal-tool visibility.
- 2023-12-10: v2.23.0 released.
- 2025-01-29: v2.24.0 released.
- 2025-04-09: v2.25.0-beta1 prerelease published.

### Related projects

- fzf, skim, tldr pages, cheat.sh, cheat/cheat, shell widgets, and tmux integrations are the main adjacent tools and content sources.

### Sources

- <https://api.github.com/repos/denisidoro/cheats>
- <https://api.github.com/repos/denisidoro/navi>
- <https://formulae.brew.sh/formula/navi>
- <https://github.com/denisidoro/cheats>
- <https://github.com/denisidoro/navi>
- <https://github.com/denisidoro/navi/blob/master/docs/cheatsheet/README.md>
- <https://github.com/denisidoro/navi/releases>
- <https://news.ycombinator.com/item?id=30925843>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $NAVI_CONFIG, ~/.config/navi/config.yaml
## Other Package-Manager Records

- Nix - navi: normalized package name match | nixpkgs package indexes: pkgs/by-name/na/navi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - navi - 2.24.0-r0: normalized package name match | Alpine Linux edge package indexes: navi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An interactive cheatsheet tool for the command-line | https://github.com/denisidoro/navi
- apk - navi-bash-plugin - 2.24.0-r0: normalized package name match | Alpine Linux edge package indexes: navi-bash-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash plugin for navi (key bindings) | https://github.com/denisidoro/navi
- apk - navi-fish-plugin - 2.24.0-r0: normalized package name match | Alpine Linux edge package indexes: navi-fish-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish plugin for navi (key bindings) | https://github.com/denisidoro/navi
- apk - navi-zsh-plugin - 2.24.0-r0: normalized package name match | Alpine Linux edge package indexes: navi-zsh-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh plugin for navi (key bindings) | https://github.com/denisidoro/navi
- dnf - navi - 2.20.1-14.fc45: normalized package name match | Fedora Rawhide package metadata: navi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Interactive cheatsheet tool for the command-line | https://crates.io/crates/navi
- pacman - navi - 2.24.0-1: normalized package name match | Arch Linux sync databases: navi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An interactive cheatsheet tool for the command-line | https://github.com/denisidoro/navi
- MacPorts - navi: normalized package name match | MacPorts ports tree: sysutils/navi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/navi: normalized package name match | Scoop official bucket manifest trees: bucket/navi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/navi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/navi.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
