# 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.

## 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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
- **Package manager page:** <https://formulae.brew.sh/formula/navi>
- **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>
- **Upstream docs:** <https://github.com/denisidoro/navi#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/denisidoro/navi/archive/refs/tags/v2.24.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- navi (cli)
- navi (alias)

## Dependencies

- fzf

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.24.0
- Local data: ok
- Upstream repository: https://github.com/denisidoro/navi
- Upstream latest detected: v2.24.0 (current)
- info: No package-manager update timestamp was available.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** navi
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 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-13.fc44: normalized package name match | Fedora Rawhide package metadata: navi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [fzf](https://www.automicvault.com/pkg/brew/fzf/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [has](https://www.automicvault.com/pkg/brew/has/) - Shares av.db curated category or tags: cli, command-line, developer-tools.
- [mods](https://www.automicvault.com/pkg/brew/mods/) - Shares av.db curated category or tags: cli, command-line, developer-tools, terminal.
- [privatebin-cli](https://www.automicvault.com/pkg/brew/privatebin-cli/) - Shares av.db curated category or tags: cli, command-line, developer-tools, terminal.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [gti](https://www.automicvault.com/pkg/brew/gti/) - Shares av.db curated category or tags: cli, command-line, developer-tools.
- [herdr](https://www.automicvault.com/pkg/brew/herdr/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [icdiff](https://www.automicvault.com/pkg/brew/icdiff/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [moreutils](https://www.automicvault.com/pkg/brew/moreutils/) - Shares av.db curated category or tags: cli, command-line, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/navi.yml](https://github.com/automic-vault/db/blob/main/combined/navi.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
