# 使用 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
- **版本:** 1.10.0
- **来源摘要:** TUI log viewer with timeline histogram and no central server
- **主页:** <https://dmitryfrank.com/projects/nerdlog/article>
- **仓库:** <https://github.com/dimonomid/nerdlog>
- **最后更新:** 2026-07-26T19:43:15+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nerdlog (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
