# Install jo with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

JSON output from a shell. Version 1.9 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:jo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jo
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jo
```

  Evidence: MacPorts ports tree: textproc/jo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jo
```

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

- Debian apt (92%):

```sh
sudo apt install jo
```

  Evidence: Debian stable package indexes: jo from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install jo
```

  Evidence: Fedora Rawhide package metadata: jo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#jo
```

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

- pacman (92%):

```sh
sudo pacman -S jo
```

  Evidence: Arch Linux sync databases: jo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install jo
```

  Evidence: openSUSE Tumbleweed package metadata: jo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/jo
```

  Evidence: Scoop official bucket manifest trees: bucket/jo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id jpmens.jo -e
```

  Evidence: Windows Package Manager source index: jpmens.jo from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:jo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jo>
- **Version:** 1.9
- **Source summary:** JSON output from a shell
- **Homepage:** <https://github.com/jpmens/jo>
- **Repository:** <https://github.com/jpmens/jo>
- **Upstream docs:** <https://github.com/jpmens/jo#readme>
- **License:** GPL-2.0-or-later AND MIT
- **Source archive:** <https://github.com/jpmens/jo/releases/download/1.9/jo-1.9.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jo (cli)
- jo (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.9
- Local data: ok
- Upstream repository: https://github.com/jpmens/jo
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

jo is a small C command-line utility for producing JSON from shell arguments or standard input. Jan-Piet Mens introduced it in March 2016 as a response to the awkwardness of hand-writing JSON in shell scripts, and the repository describes it plainly as JSON output from a shell.

### Project history

The GitHub repository was created on March 4, 2016, and Jan-Piet Mens published a companion article on March 5 explaining the motivation: producing valid JSON from shell scripts becomes hard once quoting, variables, and embedded strings enter the picture. The early 0.x releases followed within days, and 1.0 arrived on March 11, 2016.

The changelog shows a project that grew carefully around shell ergonomics: nested elements, pretty printing, booleans, file inclusion, OpenBSD pledge support, type coercion, object paths, Docker support, array reading, zsh completion, Meson support, and fixes for Windows and long-line stdin handling.

### Adoption history

jo spread through package managers because it solves a narrow shell-scripting pain point without pulling in a large runtime. Its README lists Homebrew, MacPorts, Ubuntu, Gentoo, Fedora, Snap, Scoop, AIX, Void Linux, Arch, OpenBSD, FreeBSD, Guix, pkgsrc, Repology, and Docker as distribution routes or related package entries.

### How it is used

Users call jo with key=value words to emit JSON objects, use -a for arrays, -p for pretty output, and type prefixes or special value forms when they need stronger control over numbers, booleans, nulls, file contents, or nested data. It is commonly paired with shell scripts, HTTP clients, monitoring hooks, and other command-line pipelines.

### Why package nerds care

jo is package-nerd significant because it is the Unix philosophy version of JSON generation: small, composable, scriptable, packaged almost everywhere, and complementary to jq. It sits in the gap between fragile echo/printf JSON and starting a Python, Ruby, Node, or jq program just to build an object.

### Timeline

- 2016: Repository created and 0.3 through 1.0 releases published in March.
- 2017: 1.1 adds type coercion and more test coverage.
- 2018: 1.2 adds object-path support and Dockerfile work.
- 2019: 1.3 adds JSON array reading and nested-data-from-pipes support.
- 2020: 1.4 includes build and documentation fixes.
- 2022: 1.5 through 1.9 add zsh completion, Meson work, Windows fixes, output-file support, and long-line stdin fixes.

### Related projects

- jq is the natural counterpart for consuming and transforming JSON in shell pipelines.
- The jo README names related JSON-building tools including gjo, rjo, jjo, jf, and gojo.

### Sources

- The README supplies the package-manager spread, examples, related projects, and link to the author's origin article.
- The changelog and GitHub releases supply the release timeline.
- The manpage supplies the argument and type-coercion behavior.


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - jo - 1.9-2: normalized package name match | Debian stable package indexes: jo from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line processor to output JSON from a shell | https://github.com/jpmens/jo
- Nix - jo: normalized package name match | nixpkgs package indexes: pkgs/by-name/jo/jo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jo - 1.9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: jo from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line processor to output JSON from a shell | https://github.com/jpmens/jo
- apk - jo - 1.9-r2: normalized package name match | Alpine Linux edge package indexes: jo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JSON output from a shell | https://github.com/jpmens/jo
- apk - jo-bash-completion - 1.9-r2: normalized package name match | Alpine Linux edge package indexes: jo-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for jo | https://github.com/jpmens/jo
- apk - jo-doc - 1.9-r2: normalized package name match | Alpine Linux edge package indexes: jo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JSON output from a shell (documentation) | https://github.com/jpmens/jo
- apk - jo-zsh-completion - 1.9-r2: normalized package name match | Alpine Linux edge package indexes: jo-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for jo | https://github.com/jpmens/jo
- dnf - jo - 1.9-20.fc45: normalized package name match | Fedora Rawhide package metadata: jo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Small utility to create JSON objects | https://github.com/jpmens/jo
- pacman - jo - 1.9-3: normalized package name match | Arch Linux sync databases: jo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | JSON output from a shell | https://github.com/jpmens/jo
- zypper - jo - 1.9-1.10: normalized package name match | openSUSE Tumbleweed package metadata: jo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | JSON output from a shell | https://github.com/jpmens/jo/
- zypper - jo-bash-completion - 1.9-1.10: normalized package name match | openSUSE Tumbleweed package metadata: jo-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for jo | https://github.com/jpmens/jo/
- zypper - jo-zsh-completion - 1.9-1.10: normalized package name match | openSUSE Tumbleweed package metadata: jo-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | ZSH completion for jo | https://github.com/jpmens/jo/
- MacPorts - jo: normalized package name match | MacPorts ports tree: textproc/jo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/jo: normalized package name match | Scoop official bucket manifest trees: bucket/jo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - jpmens.jo: normalized package name match | Windows Package Manager source index: jpmens.jo from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [json-glib](https://www.automicvault.com/pkg/brew/json-glib/) - Shares av.db curated category or tags: c, cli, developer-tools, json.
- [fracturedjson](https://www.automicvault.com/pkg/brew/fracturedjson/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [gojq](https://www.automicvault.com/pkg/brew/gojq/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [gron](https://www.automicvault.com/pkg/brew/gron/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [jaq](https://www.automicvault.com/pkg/brew/jaq/) - 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.
- [jnv](https://www.automicvault.com/pkg/brew/jnv/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [sbjson](https://www.automicvault.com/pkg/brew/sbjson/) - Shares av.db curated category or tags: cli, developer-tools, json.

## Combined YAML source

View the package source record on GitHub. [combined/jo.yml](https://github.com/automic-vault/db/blob/main/combined/jo.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
- external package-manager database matches
- cross-ecosystem install command graph
