Automic VaultAutomic Vault

brew

lnav を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

lnav のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install lnav

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install lnav

MacPorts ports tree · sysutils/lnav/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add lnav

Alpine Linux edge package indexes · lnav · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install lnav

Debian stable package indexes · lnav · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install lnav

Fedora Rawhide package metadata · lnav · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#lnav

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

Arch Linux pacman確認済み · 92%
sudo pacman -S lnav

Arch Linux sync databases · lnav · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install lnav

openSUSE Tumbleweed package metadata · lnav · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/lnav

Scoop official bucket manifest trees · bucket/lnav.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id tstack.lnav -e

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

タイムライン

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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
lnavcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.14.0
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係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 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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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