# 使用 Homebrew, pacman, scoop 安装 hl

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

## 安装

```sh
sudo av install brew:hl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hl
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S hl
```

  证据: Arch Linux sync databases: hl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/hl
```

  证据: Scoop official bucket manifest trees: bucket/hl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:hl
- **软件包管理器:** Homebrew
- **版本:** 0.36.3
- **来源摘要:** Fast and powerful log viewer and processor
- **主页:** <https://github.com/pamburus/hl>
- **仓库:** <https://github.com/pamburus/hl>
- **最后更新:** 2026-06-13T00:37:23Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.36.3
## 项目历史与用法

hl is a Rust command-line log viewer and processor focused on transforming structured JSON and logfmt logs into readable terminal output, with filtering, sorting, live follow mode, pager integration, and theme/configuration support.

### 项目历史

The pamburus/hl repository was created in August 2020. The README frames the project as a high-performance log viewer and processor for JSON and logfmt, built to parse and analyze large log files with minimal overhead.

The project grew around features that matter in terminal log work: field and level filtering, timestamp range filtering, hiding or revealing fields, multiline field handling, chronological sorting, follow mode, non-JSON prefix handling, timezone controls, configuration files, and environment variables.

### 采用历史

hl's adoption is visible mainly through packaging and repository attention rather than a long institutional history. The README documents installation through Homebrew on macOS, release tarballs, Cargo from Git, Arch Linux packaging, Scoop on Windows, and Nix flakes.

The input package facts show Homebrew, Arch, and Scoop packaging. That is a useful cross-platform footprint for a log-inspection CLI whose audience is developers and operators working from terminals.

### 使用方式

Typical usage is piping or opening JSON/logfmt log files, filtering records by fields or levels, narrowing by time ranges, sorting messages chronologically, following multiple logs, and using a pager for exploration. The README examples also cover compressed log files and multiple-file concatenation.

Configuration files can be placed in system-wide or user profile locations on macOS, Linux, and Windows, and can be overridden with HL_CONFIG or --config.

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

hl is notable in the crowded CLI-log-tool niche because it targets structured application logs rather than raw unstructured text only. For package nerds, it is another example of a fast Rust terminal utility packaged across Homebrew, Arch, Scoop, Cargo, and Nix channels.

Its significance is practical rather than historical: it turns machine-oriented JSON/logfmt output into something readable without requiring a full log aggregation stack.

### 时间线

- 2020-08-04: The pamburus/hl GitHub repository was created.
- 2021-01-07: Early v0.8.x GitHub releases were published.
- 2020s: README-documented packaging expanded across Homebrew, Arch Linux, Scoop, Cargo, release tarballs, and Nix flakes.
- 2020s: Configuration file support covered macOS, Linux, and Windows paths.

### Related projects

- humanlog, hlogf, fblog: log-formatting tools named by hl's README in its performance comparison.
- less: the external pager hl integrates with when available.
- logfmt and JSON logging libraries: upstream log formats that hl is designed to consume.

### 来源

- <https://api.github.com/repos/pamburus/hl>
- <https://raw.githubusercontent.com/pamburus/hl/master/README.md>
- input: source_facts.package-manager


## 安全说明

没有找到 hl 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Linux: /etc/hl/config.{yaml,toml,json}, ~/.config/hl/config.{yaml,toml,json}
- macOS: /etc/hl/config.{yaml,toml,json}, ~/.config/hl/config.{yaml,toml,json}
- Windows: %PROGRAMDATA%\hl\config.{yaml,toml,json}, %USERPROFILE%\AppData\Roaming\hl\config.{yaml,toml,json}
## 其他软件包管理器记录

- pacman - hl - 0.36.1-1: normalized package name match | Arch Linux sync databases: hl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast and powerful log viewer and processor | https://github.com/pamburus/hl
- Scoop - main/hl: normalized package name match | Scoop official bucket manifest trees: bucket/hl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/hl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hl.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
