Skip to content
Day 69: new resources are added every day. See what's new

What is lnav?

lnav is an enhanced log file viewer for the terminal. It reads timestamps and log levels, so it can merge messages from several files, show histograms of messages over time and offer hotkeys to jump to problems. It is released under a BSD license.

Third-party open-source projects. We are not affiliated with their authors; repositories are provided as-is by their maintainers. Review each project's license, code and security before installing. See our Disclaimer.

Pros: what lnav does well

  • Combines messages from several log files in time order
  • Histograms and hotkeys help you spot problems quickly
  • Prebuilt binaries are offered for Linux, macOS and Windows

Cons: where it falls short

  • Runs only in the terminal
  • Takes some learning to use its search and query features

Who lnav is for

System administrators and developers who sift through log files.

Who can skip it

People who never work with logs.

lnav alternatives

Not sold on lnav? These do a similar job, and each card says what it has in common.

pgcli

Focus: postgres and sql. Shares terminal and command line with lnav. Adds macOS and Linux. Rated 4.6 (lnav: 4.5).

Desktop AppFreemacOS, Linux

litecli

Focus: sqlite and sql. Shares terminal and command line with lnav. Adds macOS, Windows and Linux. Same 4.5 rating.

Desktop AppFreemacOS, Windows

csvkit

Focus: csv, data and spreadsheet. Shares command line and open source with lnav. Rated 4.6 (lnav: 4.5).

OtherFreeCross-Platform

GitUI

Focus: git and version control. Shares terminal and command line with lnav. Rated 4.6 (lnav: 4.5).

OtherFreeCross-Platform

hyperfine

Focus: benchmark, speed test and performance. Shares command line and open source with lnav. Adds macOS, Windows and Linux. Rated 4.6 (lnav: 4.5).

Desktop AppFreemacOS, Windows

Miller

Focus: csv, json and data wrangling. Shares command line and open source with lnav. Adds macOS and Linux. Rated 4.6 (lnav: 4.5).

Desktop AppFreemacOS, Linux

Free alternatives to lnav

Want to spend nothing? These free picks cover similar ground.

Harlequin

Focus: sql editor, database and tui. Shares terminal and open source with lnav. Adds macOS, Windows and Linux. Same 4.5 rating.

Desktop AppFreemacOS, Windows

pet

Focus: snippets and cheat sheet. Shares command line and terminal with lnav. Same 4.5 rating.

OtherFreeCross-Platform

qsv

Focus: csv, data cleaning and data analysis. Shares command line and open source with lnav. Adds macOS, Windows and Linux. Same 4.5 rating.

Desktop AppFreemacOS, Windows

ranger

Focus: file manager and vim. Shares terminal and command line with lnav. Adds Linux and macOS. Same 4.5 rating.

OtherFreeLinux, macOS

Tig

Focus: git and repository browser. Shares terminal and command line with lnav. Adds Linux and macOS. Same 4.5 rating.

OtherFreeLinux, macOS
Are you the maker of lnav?Get a free Featured badge for your site, a share image and ready-to-paste posts. No sign-up.

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.

18 free downloads

Free databases, guides and hacks

Everything I've collected, free on Gumroad. Pay what you want, or nothing at all.

See all 18