# 使用 Homebrew 安装 jsawk

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

## 安装

```sh
sudo av install brew:jsawk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jsawk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jsawk
- **软件包管理器:** Homebrew
- **版本:** 1.4
- **来源摘要:** Like awk, but for JSON, using JavaScript objects and arrays
- **主页:** <https://github.com/micha/jsawk>
- **仓库:** <https://github.com/micha/jsawk>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jsawk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

jsawk is a small command-line filter that applies awk-like pipeline habits to JSON data by evaluating JavaScript over objects read from standard input.

### 项目历史

The GitHub repository was created in May 2009. Its README frames the tool as awk for JSON: input is parsed into arrays and objects, JavaScript expressions filter or transform the data, and output returns to stdout for shell pipelines.

### 采用历史

jsawk remained a compact Unix-style tool rather than a large ecosystem. Homebrew packages version 1.4 from the GitHub tag archive, and the repository has enough stars and forks to show durable interest among shell users who wanted JSON manipulation before jq became the default answer.

### 使用方式

Typical usage is piping REST API JSON into jsawk, selecting or transforming fields with JavaScript, and either emitting JSON again or printing custom text for another command in the pipeline.

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

jsawk is a useful historical waypoint in the JSON-on-the-command-line story: it shows the pre-jq period when developers tried to extend familiar text filters with JavaScript object access instead of adopting a purpose-built JSON query language.

### 时间线

- 2009: GitHub repository created.
- 2010s: Homebrew packaged jsawk as a JSON-aware shell filter.
- 2026: Homebrew continued to package the 1.4 tag archive.

### Related projects

- Related tools include awk, jq, gron, JSON.sh, fx, jc, and the author's resty command-line REST client.

### 来源

- <https://api.github.com/repos/micha/jsawk>
- <https://formulae.brew.sh/formula/jsawk>
- <https://github.com/micha/jsawk>
- <https://github.com/micha/resty>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
