Automic VaultAutomic Vault

brew

Install lnav with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Curses-based tool for viewing and analyzing log files. Version 0.14.0 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install lnav.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lnav

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install lnav

MacPorts ports tree · sysutils/lnav/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add lnav

Alpine Linux edge package indexes · lnav · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install lnav

Debian stable package indexes · lnav · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install lnav

Fedora Rawhide package metadata · lnav · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lnav

nixpkgs package indexes · pkgs/by-name/ln/lnav/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S lnav

Arch Linux sync databases · lnav · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install lnav

openSUSE Tumbleweed package metadata · lnav · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/lnav

Scoop official bucket manifest trees · bucket/lnav.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id tstack.lnav -e

Windows Package Manager source index · tstack.lnav · source: cdn.winget.microsoft.com

overview

Package summary

Curses-based tool for viewing and analyzing log files

Commands and aliases

  • lnav

history

Project history and usage

lnav, short for The Logfile Navigator, is a terminal log viewer that combines pager-like navigation with log-format detection, time merging, filtering, highlighting, histograms, and SQLite queries. It sits in the Unix tradition of tail, grep, and less, but packages those workflows into an interactive curses-style tool.

Project history

The upstream GitHub repository was created in September 2009 and remains maintained by Tim Stack under the tstack/lnav project. The README presents lnav as a source repository backed by lnav.org and the Read the Docs manual, with static binaries and package-manager installation as first-class distribution channels.

Over time lnav accumulated features that moved it beyond a simple viewer: automatic decompression, format detection, chronological merge across files, follow mode for files and directories, JSON-lines pretty-printing, regex and SQLite filtering, and a SQL prompt over indexed log data. The official docs describe separate UI, command, SQLite, log-format, session, and performance sections, reflecting that growth.

Adoption history

lnav has become a familiar package in Unix-like developer and operations environments because it solves a common local debugging problem without requiring a server, web UI, or log aggregation stack. The GitHub repository shows broad interest for a terminal utility, and the input package facts show distribution across Homebrew, Debian, Fedora, Nix, MacPorts, pacman, Scoop, winget, and other package managers.

The project also maintained an approachable adoption path: lnav.org offers a high-level overview and an SSH playground, while the README documents Homebrew, FreeBSD, static release binaries, and source builds. That combination made it easy for developers to try lnav during incident debugging or local log exploration.

How it is used

Typical use is to point lnav at log files or directories and let it identify, collate, and index messages. The documentation says files can be passed on the command line or opened later, directories can be monitored, archives can be extracted when libarchive support is available, and piped input can be captured.

Inside the TUI, users navigate like a pager, jump between errors, search and highlight with regular expressions, filter with expressions, inspect histograms, and run SQL queries against parsed log data. It is also commonly used with systemd by piping journalctl output into lnav.

Why package nerds care

lnav is significant because it is a single CLI package that absorbs a surprising amount of operational log-analysis workflow. It gives package-manager users an immediate local alternative to stitching together tail, grep, awk, less, jq, and ad hoc scripts.

For maintainers, lnav is interesting because it packages a real TUI application with many native dependencies, including SQLite, PCRE2, libarchive, compression libraries, and terminal handling. Its availability across Unix package sets and Windows package managers reflects demand for local-first log analysis.

Timeline

  • 2009: The tstack/lnav GitHub repository is created.
  • 2010s: lnav grows from a terminal log viewer into a log-analysis TUI with format detection and SQL support.
  • 2020s: The project documents releases through GitHub, publishes static binaries, and maintains Read the Docs documentation.
  • 2026: The repository shows v0.14.x releases and continued development.

Related projects

  • tail, grep, less, and journalctl are common adjacent tools in the workflows lnav replaces or complements.
  • SQLite is central to lnav's analysis model because lnav exposes parsed log data through SQL.
  • Angle-grinder is named by the lnav README as another command-line log slicing and analysis tool.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.lnav/config.json~/.config/lnav/config.json/etc/lnav/configs/*/*.json/etc/lnav/formats/*/config.*.json

executables

Installed executables

CommandKindExposureNote
lnavcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version0.14.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/tstack/lnav

install metadata

Package metadata

Package keybrew:lnav
Version0.14.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lnav
Homepagehttps://lnav.org/
Repositoryhttps://github.com/tstack/lnav
Upstream docshttps://docs.lnav.org/en/latest
LicenseBSD-2-Clause
Source archivehttps://github.com/tstack/lnav/releases/download/v0.14.0/lnav-0.14.0.tar.gz
Last updated2026-06-22T14:05:13-07:00
Pulseupdated
Dependencieslibarchive, libunistring, pcre2, sqlite
Build dependenciesrust
Uses from macOSbzip2, curl
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelnav
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

lnav 0.12.4-1+deb13u1

ncurses-based log file viewer

https://lnav.org

sudo apt install lnav
  • Section: admin
  • Architecture: amd64
  • 12 dependencies
  • normalized package name match
  • Matched by: Lnav
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lnav from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lnav

nix profile install nixpkgs#lnav
  • normalized package name match
  • Matched by: Lnav
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ln/lnav/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lnav 0.11.2-1build3

ncurses-based log file viewer

https://lnav.org

sudo apt install lnav
  • Section: universe/admin
  • Architecture: amd64
  • 12 dependencies
  • normalized package name match
  • Matched by: Lnav
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lnav from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lnav 0.14.0-r0

Advanced log file navigator and viewer

https://lnav.org

sudo apk add lnav
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: lnav
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lnav
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lnav from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lnav-doc 0.14.0-r0

Advanced log file navigator and viewer (documentation)

https://lnav.org

sudo apk add lnav-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: lnav
  • normalized package name match
  • Matched by: Lnav
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lnav-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

lnav 0.14.0-1.fc45

Curses-based tool for viewing and analyzing log files

http://lnav.org

sudo dnf install lnav
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lnav
  • 13 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lnav
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lnav from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lnav 0.14.0-1

A curses-based tool for viewing and analyzing log files

http://lnav.org/

sudo pacman -S lnav
  • License: custom:BSD
  • Architecture: x86_64
  • 5 dependencies
  • normalized package name match
  • Matched by: Lnav
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lnav from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lnav 0.14.0-1.2

Logfile Navigator

https://lnav.org

sudo zypper install lnav
  • License: BSD-2-Clause
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: lnav
  • 11 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lnav
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lnav from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lnav

sudo port install lnav
  • normalized package name match
  • Matched by: Lnav
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/lnav/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/lnav

scoop install main/lnav
  • normalized package name match
  • Matched by: Lnav
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/lnav.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

tstack.lnav

winget install --id tstack.lnav -e
  • normalized package name match
  • Matched by: Lnav
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: tstack.lnav from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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