macOS
brew install lnavlocal Homebrew formula metadata
sudo port install lnavMacPorts ports tree · sysutils/lnav/Portfile · ソース: api.github.com
brew
lnav のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install lnavlocal Homebrew formula metadata
sudo port install lnavMacPorts ports tree · sysutils/lnav/Portfile · ソース: api.github.com
sudo apk add lnavAlpine Linux edge package indexes · lnav · ソース: dl-cdn.alpinelinux.org
sudo dnf install lnavFedora Rawhide package metadata · lnav · ソース: dl.fedoraproject.org
nix profile install nixpkgs#lnavnixpkgs package indexes · pkgs/by-name/ln/lnav/package.nix · ソース: api.github.com
sudo pacman -S lnavArch Linux sync databases · lnav · ソース: geo.mirror.pkgbuild.com
sudo zypper install lnavopenSUSE Tumbleweed package metadata · lnav · ソース: download.opensuse.org
scoop install main/lnavScoop official bucket manifest trees · bucket/lnav.json · ソース: api.github.com
winget install --id tstack.lnav -eWindows Package Manager source index · tstack.lnav · ソース: cdn.winget.microsoft.com
概要
Curses-based tool for viewing and analyzing log files
履歴
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.
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.
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.
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.
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
~/.lnav/config.json~/.config/lnav/config.json/etc/lnav/configs/*/*.json/etc/lnav/formats/*/config.*.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
lnav | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/tstack/lnav
インストールメタデータ
| パッケージキー | brew:lnav |
|---|---|
| バージョン | 0.14.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/lnav |
| ホームページ | https://lnav.org/ |
| リポジトリ | https://github.com/tstack/lnav |
| 上流ドキュメント | https://docs.lnav.org/en/latest |
| ライセンス | BSD-2-Clause |
| ソースアーカイブ | https://github.com/tstack/lnav/releases/download/v0.14.0/lnav-0.14.0.tar.gz |
| 最終更新 | 2026-06-22T14:05:13-07:00 |
| Pulse | updated |
| 依存関係 | libarchive, libunistring, pcre2, sqlite |
| ビルド依存関係 | rust |
| macOS 提供ライブラリ | bzip2, curl |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lnav |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
lnav 0.12.4-1+deb13u1
ncurses-based log file viewer
sudo apt install lnavlnav
nix profile install nixpkgs#lnavlnav 0.11.2-1build3
ncurses-based log file viewer
sudo apt install lnavlnav 0.14.0-r0
Advanced log file navigator and viewer
sudo apk add lnavlnav-doc 0.14.0-r0
Advanced log file navigator and viewer (documentation)
sudo apk add lnav-doclnav 0.14.0-1.fc45
Curses-based tool for viewing and analyzing log files
sudo dnf install lnavlnav 0.14.0-1
A curses-based tool for viewing and analyzing log files
sudo pacman -S lnavlnav 0.14.0-1.2
Logfile Navigator
sudo zypper install lnavlnav
sudo port install lnavmain/lnav
scoop install main/lnavtstack.lnav
winget install --id tstack.lnav -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.