Automic VaultAutomic Vault

brew

Install lesspipe with Homebrew, MacPorts, Nix, pacman

Input filter for the pager less. Version 2.27 via Homebrew; verified 2026-06-17. Also installable with nix: nix profile install nixpkgs#lesspipe.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lesspipe

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install lesspipe

MacPorts ports tree · textproc/lesspipe/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#lesspipe

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

Arch Linux pacmanverified · 92%
sudo pacman -S lesspipe

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

overview

Package summary

Input filter for the pager less

Commands and aliases

  • archive_color
  • lesspipe.sh

history

Project history and usage

lesspipe is a long-running input filter for the `less` pager. It sits in a classic Unix niche: let the pager stay simple, but teach it to render compressed files, archives, documents, media metadata, and nested archive structures through an external preprocessor.

Project history

The project is maintained by Wolfgang Friebel and distributed from the lesspipe web site and the `wofr06/lesspipe` GitHub repository. The maintainer's project page lists early coverage in Linux Magazin 01/2001, CERN Computing Newsletter 01/2002, and Linux User 04/2002, showing that the script was already established in Unix/Linux user circles by the early 2000s.

The changelog shows continuous modernization rather than a frozen shell-script utility: later releases added support for newer archive and document formats, optional syntax colorizers, tab-completion improvements, security fixes, and a 2025 note for a '25 years recursive lesspipe' article.

Adoption history

lesspipe's adoption follows the shape of pager culture: users opt into it through `LESSOPEN`, distributions package it as a small helper, and package managers expose it as a lightweight add-on for people who live in terminals. Homebrew, MacPorts, Nix, and Arch package metadata in this batch all list a `lesspipe` package.

How it is used

The common usage is not to run lesspipe as a destination program, but to configure `less` so the filter is called automatically. Once installed, it makes `less archive.tar.gz`, `less file.pdf`, or nested archive inspection behave like ordinary paging instead of a manual extract-convert-open workflow.

Why package nerds care

Package nerds care about lesspipe because it is a compact example of Unix composition aging well: one pager, one environment hook, and a shell-script filter that tracks the moving target of real-world file formats. It also explains why many Linux users expect `less` to be smarter than upstream `less` alone.

Timeline

  • 2001: Linux Magazin 01/2001 coverage listed on the maintainer's lesspipe page.
  • 2002: CERN Computing Newsletter 01/2002 and Linux User 04/2002 coverage listed on the maintainer's lesspipe page.
  • 2015: The GitHub repository `wofr06/lesspipe` was created on July 20, 2015.
  • 2025: Version 2.18 noted a '25 years recursive lesspipe' article in the lesspipe.sh wiki.
  • 2026: Version 2.27 was recorded in the changelog on June 10, 2026.

Related projects

  • lesspipe is tightly coupled to `less` and its `LESSOPEN` input-preprocessor mechanism. It also overlaps with tools it delegates to or competes with for specific formats, including archive utilities, document converters, `file`/magic databases, `bat`, Vim/Neovim-based colorizers, and media metadata tools.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:archive

Install behavior

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

Recommended review

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

executables

Installed executables

CommandKindExposureNote
archive_colorcliglobal executable
lesspipe.shcliglobal 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 version2.27
manager updated2026-06-17
local dataok
upstreamcurrent
latest detectedv2.27

https://github.com/wofr06/lesspipe

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:lesspipe
Version2.27
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lesspipe
Homepagehttps://lesspipe.org
Repositoryhttps://github.com/wofr06/lesspipe
Upstream docshttps://lesspipe.org/docs.html
LicenseGPL-2.0-only AND GPL-2.0-or-later AND MIT AND (Artistic-1.0-Perl OR GPL-1.0-or-later)
Source archivehttps://github.com/wofr06/lesspipe/archive/refs/tags/v2.27.tar.gz
Last updated2026-06-17T09:20:36+09:00
Pulseupdated
Dependenciesbash
Uses from macOSperl
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared
Caveatsadd the following to your shell profile e.g. ~/.profile or ~/.zshrc: export LESSOPEN="|$HOMEBREW_PREFIX/bin/lesspipe.sh %s"

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelesspipe
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Nix95%

lesspipe

nix profile install nixpkgs#lesspipe
  • normalized package name match
  • Matched by: Lesspipe
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/lesspipe/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

lesspipe 2.26-1

an input filter for the pager less

https://www-zeuthen.desy.de/~friebel/unix/lesspipe.html

sudo pacman -S lesspipe
  • License: GPL-2.0-or-later
  • Architecture: any
  • 1 dependencies
  • 18 optional deps
  • normalized package name match
  • Matched by: Lesspipe
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lesspipe from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

lesspipe

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

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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment