# 使用 Homebrew, apk, MacPorts, Nix 安装 nerdlog

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

## 安装

```sh
sudo av install brew:nerdlog
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nerdlog
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nerdlog
```

  证据: MacPorts ports tree: sysutils/nerdlog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add nerdlog
```

  证据: Alpine Linux edge package indexes: nerdlog from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#nerdlog
```

  证据: nixpkgs package indexes: pkgs/by-name/ne/nerdlog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:nerdlog
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nerdlog>
- **版本:** 1.10.0
- **来源摘要:** TUI log viewer with timeline histogram and no central server
- **主页:** <https://dmitryfrank.com/projects/nerdlog/article>
- **仓库:** <https://github.com/dimonomid/nerdlog>
- **上游文档:** <https://dmitryfrank.com/projects/nerdlog/article>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/dimonomid/nerdlog/archive/refs/tags/v1.10.0.tar.gz>
- **最后更新:** 2026-07-26T19:43:15+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nerdlog (cli)
- nerdlog (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.10.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/dimonomid/nerdlog
- 检测到的最新版本: v1.10.0 (当前)
## 项目历史与用法

Nerdlog is a remote-first terminal log viewer for querying logs across multiple machines over SSH without running a central log server. The public repository was created on 2025-04-20 and v1.0.0 was released on 2025-04-22, but the README says the tool was originally hacked together in 2022 and then cleaned up and open sourced in 2025.

### 项目历史

The maintainer frames Nerdlog as loosely inspired by Graylog and Kibana, but intentionally avoiding their server-side setup. The README states the primary use case: reading system logs from `/var/log/messages`, `/var/log/syslog`, or `journalctl` across one or more remote hosts, including large log files around 1GB or more. It does remote-side analysis, transfers matching rows plus timeline histogram data, compresses most data in transit, and merges results into a single TUI.

GitHub metadata retrieved on 2026-07-01 showed about 1.5k stars and 39 forks. GitHub releases list v1.0.0 on 2025-04-22 and v1.10.0 on 2025-06-09, indicating a short but active public release window.

### 采用历史

The adoption story is early and mostly source/community driven: GitHub stars, Hacker News and Reddit discussion, Homebrew/MacPorts/Alpine packaging, and the maintainer's own article and README. The Homebrew formula API reported stable version 1.10.0 and 10 install-on-request events in the prior 30 days when checked on 2026-07-01, so packaged usage is still small compared with the attention around the initial open-source release.

### 使用方式

Users run `nerdlog`, define local or SSH logstreams, filter with awk-like expressions or regular expressions, and use the timeline histogram to narrow the time range. It is aimed at operators who have SSH access to hosts and want Graylog/Kibana-like querying for plain system logs without deploying Elasticsearch, agents, collectors, or a log database.

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

Nerdlog is a useful package-nerd signal for the 'no server, just SSH and logs' school of operations tooling. It complements heavier log stacks by serving small fleets, personal infrastructure, and incident debugging where setup time matters more than centralized retention.

### 时间线

- 2022: Maintainer says the first version was hacked together to replace painfully slow Splunk setups.
- 2025-04-20: GitHub repository created.
- 2025-04-22: v1.0.0 released.
- 2025-06-09: v1.10.0 released.

### Related projects

- Graylog
- Kibana
- Splunk
- journalctl
- syslog
- SSH
- gawk

### 来源

- <https://api.github.com/repos/dimonomid/nerdlog>
- <https://api.github.com/repos/dimonomid/nerdlog/releases?per_page=100>
- <https://dmitryfrank.com/projects/nerdlog/article>
- <https://formulae.brew.sh/api/formula/nerdlog.json>
- <https://github.com/dimonomid/nerdlog>
- <https://news.ycombinator.com/item?id=43750765>
- <https://www.reddit.com/r/opensource/comments/1kl443p/built_nerdlog_fast_remotefirst_multihost_tui_log/>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nerdlog
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - nerdlog: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nerdlog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - nerdlog - 1.10.0-r11: normalized package name match | Alpine Linux edge package indexes: nerdlog from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast, remote-first, multi-host log TUI, timeline histogram & no central server | https://github.com/dimonomid/nerdlog
- apk - nerdlog-doc - 1.10.0-r11: normalized package name match | Alpine Linux edge package indexes: nerdlog-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast, remote-first, multi-host log TUI, timeline histogram & no central server (documentation) | https://github.com/dimonomid/nerdlog
- MacPorts - nerdlog: normalized package name match | MacPorts ports tree: sysutils/nerdlog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [purr](https://pkg.so/zh-hans/brew/purr/) - Shares pkgdb curated category or tags: cli, developer-tools, logging, tui.
- [jqp](https://pkg.so/zh-hans/brew/jqp/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal-ui, tui.
- [otree](https://pkg.so/zh-hans/brew/otree/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal-ui, tui.
- [notcurses](https://pkg.so/zh-hans/brew/notcurses/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal-ui, tui.
- [log4cpp](https://pkg.so/zh-hans/brew/log4cpp/) - Shares pkgdb curated category or tags: cli, developer-tools, logging.
- [fblog](https://pkg.so/zh-hans/brew/fblog/) - Shares pkgdb curated category or tags: cli, developer-tools, log-viewer, logging.
- [progressline](https://pkg.so/zh-hans/brew/progressline/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal-ui, tui.
- [log4c](https://pkg.so/zh-hans/brew/log4c/) - Shares pkgdb curated category or tags: cli, developer-tools, logging.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
