Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, chocolatey, scoop, winget 安装 less

查看 less 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install less

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install less

MacPorts ports tree · textproc/less/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add less

Alpine Linux edge package indexes · less · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install less

Debian stable package indexes · less · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install less

Fedora Rawhide package metadata · less · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#less

nixpkgs package indexes · pkgs/by-name/le/less/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S less

Arch Linux sync databases · less · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install less

openSUSE Tumbleweed package metadata · less · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install Less

Chocolatey community package catalog · Less · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/less

Scoop official bucket manifest trees · bucket/less.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id jftuga.less -e

Windows Package Manager source index · jftuga.less · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Pager program similar to more

命令和别名

  • less
  • lesskey

历史

项目历史与用法

less is a classic terminal pager: a free, open source program for viewing text one screen at a time, similar to more but with richer navigation and search behavior.

项目历史

The official FAQ says less was written by Mark Nudelman and is maintained by him. The source tree's copyright file dates the code line to 1984, and the README identifies the distribution as part of the GNU project while also documenting a separate Less License option.

The program has stayed under active maintenance for decades. Greenwood Software's release page records many numbered releases from the 2010s and 2020s, while the NEWS file tracks ongoing pager features such as OSC 8 hyperlink handling, command mapping, prompt expansion, mouse support, regex behavior, and platform fixes.

采用历史

The official home page describes less as present on most Linux, Unix, and Mac OS systems and on many other operating systems. The FAQ also notes distribution through standard Unix-like system software and GNU archives.

Its adoption is helped by being a drop-in pager for commands and environment variables such as PAGER. Developers use it through man, git, shells, build logs, and package-manager output without always invoking it directly.

使用方式

less opens files or standard input for interactive viewing, with forward and backward movement, searching, marks, filtering, follow mode, and configurable key bindings through lesskey-style configuration.

Package builds usually install the less and lesskey executables plus manual pages. The README recommends downloading numbered release packages from Greenwood Software for ordinary use and cloning the Git repository only for source development.

为什么软件包爱好者会关心

less is package-nerd bedrock: a tiny command that sits in the path of almost every Unix developer workflow. Its value is partly invisible because many tools delegate paging to it, making the package a system utility dependency rather than an application people consciously launch.

时间线

  • 1984: The less source copyright line begins with Mark Nudelman's 1984 copyright.
  • 2011: Greenwood Software recorded less-444 as a general-use release on June 9, 2011.
  • 2021: less-581.2 was released for general use on April 28, 2021.
  • 2026: less-702 was released for general use on May 22, 2026.

Related projects

  • more is the older pager less is explicitly compared with.
  • GNU distributes less, and many Unix-like systems ship it as part of their standard toolset.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
$XDG_CONFIG_HOME/lesskey~/.config/lesskey~/.lesskey/usr/local/etc/syslesskey
Windows
~/_lesskeylesskey.inic:\syslesskey

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lesscli全局可执行文件
lesskeycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本704
管理器更新时间2026-06-06
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.greenwoodsoftware.com/less/index.html

安装元数据

软件包元数据

软件包键brew:less
版本704
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/less
主页https://www.greenwoodsoftware.com/less/index.html
仓库https://github.com/gwsw/less
上游文档https://www.greenwoodsoftware.com/less/faq.html
许可证GPL-3.0-or-later
源码归档https://www.greenwoodsoftware.com/less/less-704.tar.gz
最后更新2026-06-06T20:47:51Z
Pulseupdated
依赖ncurses, pcre2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameless
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%

less 668-1

pager program similar to more

http://www.greenwoodsoftware.com/less/

sudo apt install less
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Less
Debian stable package indexes · deb.debian.org · Debian stable package indexes: less from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

less

nix profile install nixpkgs#less
  • normalized package name match
  • 匹配方式:Less
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/less/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

less 590-2ubuntu2

pager program similar to more

http://www.greenwoodsoftware.com/less/

sudo apt install less
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Less
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: less from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

less 702-r0

File pager

https://www.greenwoodsoftware.com/less/

sudo apk add less
  • License: GPL-3.0-or-later OR BSD-2-Clause
  • Architecture: x86_64
  • Source Package: less
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Less
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: less from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

less-doc 702-r0

File pager (documentation)

https://www.greenwoodsoftware.com/less/

sudo apk add less-doc
  • License: GPL-3.0-or-later OR BSD-2-Clause
  • Architecture: x86_64
  • Source Package: less
  • normalized package name match
  • 匹配方式:Less
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: less-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

less 702-1.fc45

A text file browser similar to more, but better

https://www.greenwoodsoftware.com/less/

sudo dnf install less
  • License: (GPL-3.0-only OR BSD-2-Clause) AND GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: less
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Less
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: less from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

less-color 702-1.fc45

Colorizers for less

https://www.greenwoodsoftware.com/less/

sudo dnf install less-color
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: less
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Less
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: less-color from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

less 1:704-1

A terminal based program for viewing text files

https://www.greenwoodsoftware.com/less/

sudo pacman -S less
  • License: GPL-3.0-or-later OR LicenseRef-Less
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Less
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: less from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

less 702-1.1

Text File Browser and Pager Similar to more

https://www.greenwoodsoftware.com/less/

sudo zypper install less
  • License: BSD-2-Clause OR GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: less
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Less
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: less from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

less

sudo port install less
  • normalized package name match
  • 匹配方式:Less
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/less/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

Less

choco install Less
  • normalized package name match
  • 匹配方式:Less
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: Less from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'
Scoop95%

main/less

scoop install main/less
  • normalized package name match
  • 匹配方式:Less
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/less.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

jftuga.less

winget install --id jftuga.less -e
  • normalized package name match
  • 匹配方式:Less
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: jftuga.less from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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