Automic VaultAutomic Vault

brew

Install jd with Homebrew, dnf, MacPorts, scoop, winget

JSON diff and patch. Version 2.5.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install jd

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install jd

MacPorts ports tree · textproc/jd/Portfile · source: api.github.com

Windows

Scoopverified · 92%
scoop install extras/jd

Scoop official bucket manifest trees · bucket/jd.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id josephburnett.jd -e

Windows Package Manager source index · josephburnett.jd · source: cdn.winget.microsoft.com

overview

Package summary

JSON diff and patch

Commands and aliases

  • jd

history

Project history and usage

jd is a command-line utility and Go library for diffing and patching JSON and YAML values. Its README describes a native jd diff format, JSON Merge Patch support from RFC 7386, and partial JSON Patch support from RFC 6902.

Project history

The public repository was created in 2016 and its tag history begins with v1.0-era releases before moving through a v2 series. The README says the v2 library replaced the v1 library, adding diff context, minimal array diffs, and hunk-level metadata.

Adoption history

jd is packaged by Homebrew, Fedora, MacPorts, Scoop, and winget metadata in the input. The README also documents installation through Homebrew, mise, go install, downloaded release binaries, Docker, a GitHub Action, and a local or hosted WebAssembly-based UI.

How it is used

The CLI compares two JSON files, reads a second value from standard input when omitted, applies patches with -p, writes output with -o, handles set and multiset array semantics, translates formats, and can read or write YAML. Its examples show using a generated diff as a patch file.

Why package nerds care

jd fills the gap left by line-oriented diff when structured JSON changes need to be reviewed, patched, or normalized. Package nerds care because it makes JSON changes scriptable while preserving concepts familiar from Unix diff and patch.

Timeline

  • 2016: The jd repository was created and v1.0-era tags began.
  • 2020: v1.3.0 appeared in the tag stream under both release-1.3.0 and v1.3.0 names.
  • 2022: v2.0.0 began the v2 line.
  • 2024: v2.4.0 appeared in the tag stream.
  • 2025: v2.5.0 added targeted comparison options and path-isolated diff semantics.

Related projects

  • Related standards and tools include Unix diff and patch, JSON Merge Patch RFC 7386, JSON Patch RFC 6902, YAML tooling, Go package distribution, GitHub Actions, and the jd WebAssembly UI.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
jdcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.5.0
manager updated
local dataok
upstreamcurrent
latest detectedv2.5.0

https://github.com/josephburnett/jd

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:jd
Version2.5.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/jd
Homepagehttps://github.com/josephburnett/jd
Repositoryhttps://github.com/josephburnett/jd
Upstream docshttps://github.com/josephburnett/jd/blob/master/README.md
LicenseMIT
Source archivehttps://github.com/josephburnett/jd/archive/refs/tags/v2.5.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejd
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

dnf95%

jd 0.16.0-1.fc45

A 2ch browser

https://github.com/JDimproved/JDim

sudo dnf install jd
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: jd
  • 29 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Jd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: jd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

jd

sudo port install jd
  • normalized package name match
  • Matched by: Jd
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/jd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/jd

scoop install extras/jd
  • normalized package name match
  • Matched by: Jd
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/jd.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

josephburnett.jd

winget install --id josephburnett.jd -e
  • normalized package name match
  • Matched by: Jd
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: josephburnett.jd from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/jd.yml

Used sources

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