# 使用 Homebrew, MacPorts, Nix, pacman 安装 angle-grinder

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

## 安装

```sh
sudo av install brew:angle-grinder
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install angle-grinder
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install angle-grinder
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#angle-grinder
```

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

- pacman (92%):

```sh
sudo pacman -S angle-grinder
```

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

## 软件包事实

- **软件包键:** brew:angle-grinder
- **软件包管理器:** Homebrew
- **版本:** 0.19.6
- **来源摘要:** Slice and dice log files on the command-line
- **主页:** <https://github.com/rcoh/angle-grinder>
- **仓库:** <https://github.com/rcoh/angle-grinder>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- agrind (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

angle-grinder is a Rust command-line log analysis tool whose executable, `agrind`, brings query-pipeline style filtering, parsing, aggregation, and live terminal rendering to plain log streams.

### 项目历史

The official repository was created in March 2018 and early GitHub releases show rapid 0.x iteration during that same month. Its README frames the project as a tool for cases where logs are available locally but a full analytics stack such as Graphite, Honeycomb, Kibana, Sumo Logic, or Splunk is not.

The tool implements a small functional query language over text, JSON, logfmt, split fields, filters, and aggregate operators. The README emphasizes high-throughput processing, with simple pipelines able to process millions of rows per second.

### 采用历史

The README documents binary installation for Linux and macOS, source installation with Cargo, and package-manager availability through Homebrew, MacPorts, and FreeBSD packages. The Homebrew formula and other package-manager entries make it a Unix-toolbox style log utility rather than a service-bound product.

Its adoption is niche but clear: it serves operators and developers who want terminal-native ad hoc analytics against log files, especially when centralized observability tooling is unavailable, too heavy, or not worth setting up.

### 使用方式

Common usage pipes logs into `agrind` and applies filters and operators such as `json`, `logfmt`, `parse`, `where`, `count`, `sum`, `average`, percentile, and sort. The README example `* | json | count by log_level` captures the usual flow: parse structured logs, group them, and watch live results.

Aliases can be loaded from `.agrind-aliases` in the working directory or parent directories, which lets users keep reusable pipelines close to a project or log format.

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

angle-grinder sits in the package-manager sweet spot for small Rust CLIs: one executable, useful without a daemon, fast enough to justify a native binary, and attractive to users who live in pipes.

It is also a good example of a package whose documentation surface is the README. There is no separate docs site; the official repo is the authoritative manual, release surface, and source.

### 时间线

- 2018: Official GitHub repository is created.
- 2018: Early 0.x releases are published in March.
- 2018: README documents Homebrew, MacPorts, FreeBSD, Linux binary, and Cargo installation paths.
- 2018: v0.9.0 adds `agrind --self-update` according to the README.

### Related projects

- The README explicitly positions angle-grinder as a lightweight alternative when data is not already in Graphite, Honeycomb, Kibana, Sumo Logic, or Splunk.
- It belongs near command-line text-processing and log tools such as awk, jq, grep, and logfmt parsers, but adds streaming aggregates and a terminal UI.

### 来源

- <https://api.github.com/repos/rcoh/angle-grinder>
- <https://api.github.com/repos/rcoh/angle-grinder/releases>
- <https://raw.githubusercontent.com/rcoh/angle-grinder/master/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


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

- Unix: .agrind-aliases/ in current working directory, parent directories
## 其他软件包管理器记录

- Nix - angle-grinder: normalized package name match | nixpkgs package indexes: pkgs/by-name/an/angle-grinder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - angle-grinder - 0.19.6-3: normalized package name match | Arch Linux sync databases: angle-grinder from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Slice and dice logs on the command line | https://github.com/rcoh/angle-grinder
- MacPorts - angle-grinder: normalized package name match | MacPorts ports tree: textproc/angle-grinder/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/angle-grinder.yml](https://github.com/mxcl/pkgdb/blob/main/combined/angle-grinder.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
