# Install jsawk with Homebrew

Like awk, but for JSON, using JavaScript objects and arrays. Version 1.4 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jsawk
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:jsawk
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jsawk>
- **Version:** 1.4
- **Source summary:** Like awk, but for JSON, using JavaScript objects and arrays
- **Homepage:** <https://github.com/micha/jsawk>
- **Repository:** <https://github.com/micha/jsawk>
- **Upstream docs:** <https://github.com/micha/jsawk#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/micha/jsawk/archive/refs/tags/1.4.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- jsawk (cli)
- jsawk (alias)

## Dependencies

- spidermonkey

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.4
- Local data: ok
- Upstream repository: https://github.com/micha/jsawk
- Upstream latest detected: 1.4 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jsawk
- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [spidermonkey](https://www.automicvault.com/pkg/brew/spidermonkey/) - Runtime dependency declared by Homebrew.
- [fx](https://www.automicvault.com/pkg/brew/fx/) - Shares av.db curated category or tags: cli, developer-tools, javascript, json, json-tools.
- [jshon](https://www.automicvault.com/pkg/brew/jshon/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json, json-tools.
- [json2tsv](https://www.automicvault.com/pkg/brew/json2tsv/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json.
- [chalk-cli](https://www.automicvault.com/pkg/brew/chalk-cli/) - Shares av.db curated category or tags: cli, developer-tools, javascript.
- [jc](https://www.automicvault.com/pkg/brew/jc/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [jid](https://www.automicvault.com/pkg/brew/jid/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [jp](https://www.automicvault.com/pkg/brew/jp/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [json2hcl](https://www.automicvault.com/pkg/brew/json2hcl/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [gron](https://www.automicvault.com/pkg/brew/gron/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, data-processing, developer, developer-tools.
- [jaq](https://www.automicvault.com/pkg/brew/jaq/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, data-processing, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/jsawk.yml](https://github.com/automic-vault/db/blob/main/combined/jsawk.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
