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

Serializes the output of command-line tools to structured JSON output. Version 1.25.7 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:jc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jc
```

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

### Linux

- apk (92%):

```sh
sudo apk add jc
```

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

- Debian apt (92%):

```sh
sudo apt install jc
```

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

- dnf (92%):

```sh
sudo dnf install jc
```

  Evidence: Fedora Rawhide package metadata: jc 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#jc
```

  Evidence: nixpkgs package indexes: jc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S jc
```

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

- zypper (92%):

```sh
sudo zypper install jc
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/jc
```

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

- winget (92%):

```sh
winget install --id KellyBrazil.jc -e
```

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

## Package facts

- **Package key:** brew:jc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jc>
- **Version:** 1.25.7
- **Source summary:** Serializes the output of command-line tools to structured JSON output
- **Homepage:** <https://github.com/kellyjonbrazil/jc>
- **Repository:** <https://github.com/kellyjonbrazil/jc>
- **Upstream docs:** <https://github.com/kellyjonbrazil/jc/blob/master/README.md>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/a9/da/7827d3389d87fa645556d595a2a437576de83f7a7d4a5fceda9c32208c0b/jc-1.25.7.tar.gz>
- **Last updated:** 2026-06-19T18:32:56Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- jc (cli)
- jc (alias)

## Dependencies

- libyaml
- python@3.14

## Install behavior

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

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.25.7
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://github.com/kellyjonbrazil/jc
- info: No cached GitHub release or tag data was available.
## Project history and usage

jc, short for JSON Convert, is a CLI tool and Python library that turns the output of many command-line tools, file formats, and strings into JSON, YAML, or Python data structures. Its README frames the core workflow as piping familiar Unix command output into jc and then into tools such as jq.

### Project history

The public repository was created in 2019, and the project quickly centered on parser coverage: commands, proc files, package metadata, network tools, logs, and common string formats. The README links the author's project motivation under the theme of bringing Unix-style text pipelines into a JSON-aware shell environment.

### Adoption history

jc spread beyond a single Python package into operating-system repositories and automation ecosystems. The README documents installation through pip, Homebrew, Debian and Ubuntu, Fedora, openSUSE, Arch, Nix, Guix, Gentoo, Photon, FreeBSD ports, prebuilt binaries, an Ansible filter plugin, and a FortiSOAR connector.

### How it is used

The standard usage is to pipe command output into jc with a parser flag, or to use the magic syntax that prefixes the original command with jc. It can also be imported as a Python library, returning dictionaries, lists, or lazy iterables for streaming parsers.

### Why package nerds care

jc is important to command-line package nerds because it reduces the need for brittle awk, sed, and regex parsing around legacy Unix tools. It sits in the same cultural lane as jq and jello: make shell pipelines structured without waiting for every upstream command to add a JSON flag.

### Timeline

- 2019: The jc repository was created.
- 2020: The project documented automation use cases for Ansible, SaltStack, and Nornir.
- 2021: README examples showed piping jc output to jq and using jc as a Python library.
- 2024: Version 1.25.0 added slurp support, parser metadata improvements, and more parser coverage.
- 2026: Version 1.25.7 added CSV and TSV parser variants, Bash variable parsers, and parser fixes.

### Related projects

- Related projects and ecosystems named by the README include jq, jello, Ansible community.general, FortiSOAR, libxo, PowerShell ConvertTo-Json, and the author's jc web demo and REST API projects.

### Sources

- <https://formulae.brew.sh/formula/jc>
- <https://github.com/kellyjonbrazil/jc>
- <https://github.com/kellyjonbrazil/jc/blob/master/CHANGELOG>
- <https://github.com/kellyjonbrazil/jc/blob/master/README.md>
- <https://kellyjonbrazil.github.io/jc>


## 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:** jc
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - jc - 1.25.4-1: normalized package name match | Debian stable package indexes: jc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JSON CLI output utility | https://github.com/kellyjonbrazil/jc
- Nix - jc: normalized package name match | nixpkgs package indexes: jc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - jc - 1.25.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: jc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JSON CLI output utility | https://github.com/kellyjonbrazil/jc
- apk - jc - 1.25.6-r1: normalized package name match | Alpine Linux edge package indexes: jc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI & python library converting output of common tools, file-types & strings to JSON, YAML or dicts | https://kellyjonbrazil.github.io/jc/
- apk - jc-bash-completion - 1.25.6-r1: normalized package name match | Alpine Linux edge package indexes: jc-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for jc | https://kellyjonbrazil.github.io/jc/
- apk - jc-doc - 1.25.6-r1: normalized package name match | Alpine Linux edge package indexes: jc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI & python library converting output of common tools, file-types & strings to JSON, YAML or dicts (documentation) | https://kellyjonbrazil.github.io/jc/
- apk - jc-pyc - 1.25.6-r1: normalized package name match | Alpine Linux edge package indexes: jc-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for jc | https://kellyjonbrazil.github.io/jc/
- apk - jc-zsh-completion - 1.25.6-r1: normalized package name match | Alpine Linux edge package indexes: jc-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for jc | https://kellyjonbrazil.github.io/jc/
- dnf - jc - 1.25.6-2.fc44: normalized package name match | Fedora Rawhide package metadata: jc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Serialize the output of CLI tools and file-types to structured JSON | https://github.com/kellyjonbrazil/jc
- dnf - python3-jc - 1.25.6-2.fc44: normalized package name match | Fedora Rawhide package metadata: python3-jc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Module for serializing output of CLI tools into JSON | https://github.com/kellyjonbrazil/jc
- pacman - jc - 1.25.6-2: normalized package name match | Arch Linux sync databases: jc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Converts the output of popular command-line tools and file-types to JSON | https://github.com/kellyjonbrazil/jc
- zypper - jc - 1.25.6-1.2: normalized package name match | openSUSE Tumbleweed package metadata: jc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | JSON CLI output utility | https://github.com/kellyjonbrazil/jc
- MacPorts - jc: normalized package name match | MacPorts ports tree: sysutils/jc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/jc: normalized package name match | Scoop official bucket manifest trees: bucket/jc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - KellyBrazil.jc: normalized package name match | Windows Package Manager source index: KellyBrazil.jc 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.
- [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.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [fx](https://www.automicvault.com/pkg/brew/fx/) - 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.
- [jsawk](https://www.automicvault.com/pkg/brew/jsawk/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [jshon](https://www.automicvault.com/pkg/brew/jshon/) - 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.
- [json2tsv](https://www.automicvault.com/pkg/brew/json2tsv/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [rich-cli](https://www.automicvault.com/pkg/brew/rich-cli/) - Shares av.db curated category or tags: cli, developer-tools, json.
- [langgraph-cli](https://www.automicvault.com/pkg/brew/langgraph-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, libyaml.
- [jtbl](https://www.automicvault.com/pkg/brew/jtbl/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, json, output.
- [sarif-tools](https://www.automicvault.com/pkg/brew/sarif-tools/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, libyaml.

## Combined YAML source

View the package source record on GitHub. [combined/jc.yml](https://github.com/automic-vault/db/blob/main/combined/jc.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
