Automic VaultAutomic Vault

brew

Install nbdime with Homebrew, Nix

Jupyter Notebook Diff and Merge tools. Version 4.0.4 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nbdime

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#nbmerge

nixpkgs package indexes · pkgs/by-name/nb/nbmerge/package.nix · source: api.github.com

overview

Package summary

Jupyter Notebook Diff and Merge tools

Commands and aliases

  • git-nbdiffdriver
  • git-nbdifftool
  • git-nbmergedriver
  • git-nbmergetool
  • hg-nbdiff
  • hg-nbdiffweb
  • hg-nbmerge
  • hg-nbmergeweb
  • nbdiff
  • nbdiff-web
  • nbdime
  • nbmerge
  • nbmerge-web
  • nbshow

history

Project history and usage

nbdime is the Jupyter notebook diff and merge toolkit: terminal diffs, web-rendered diffs, three-way merges, Git and Mercurial integration commands, and notebook-aware conflict handling.

Project history

The jupyter/nbdime repository was created on 2015-11-16. The problem it addresses is old and specific: .ipynb files are JSON documents, so line-based diff and merge tools are noisy and often misleading for code cells, markdown cells, metadata, execution counts, rich outputs, and embedded images.

The project became part of the Jupyter ecosystem discussion early. Jupyter Enhancement Proposal 8, 'Diffing and merging notebooks', says preliminary work resided in nbdime and frames the core use cases as version-control merge commands, diff commands, notebook change inspection, and automated regression testing.

Adoption history

The package reached PyPI as 0.1.0 on 2016-12-16 and 1.0.0 on 2018-05-15. GitHub API data retrieved on 2026-07-01 showed 2,836 stars and 192 forks. PyPI Stats reported 317,876 downloads for the recent last-month window, and Homebrew Formulae reported 758 installs over the prior 365 days.

Its adoption comes from being the practical local answer to notebook version control. Jupyter users can keep notebooks in Git, but nbdime makes diffs human-readable and merges less hazardous by understanding notebook structure.

How it is used

Users run nbdiff for terminal-friendly notebook comparisons, nbdiff-web for rendered browser diffs, nbmerge for three-way notebook merges, nbmerge-web for browser-assisted conflict resolution, and nbshow for terminal presentation of a notebook.

The Git integration is the package-nerd move: configure nbdime as the diff and merge driver so normal git diff and git merge behavior can route .ipynb files through notebook-aware tooling while leaving ordinary files alone.

Why package nerds care

nbdime matters because it turns notebooks from opaque JSON blobs back into reviewable development artifacts. It does not replace Git or Jupyter; it patches the exact place where their defaults are weakest together.

Timeline

  • 2015-11-16: jupyter/nbdime repository created.
  • 2016-07-15: 'Diffing and Merging Jupyter Notebooks with nbdime' presented at SciPy 2016.
  • 2016-12-16: nbdime 0.1.0 uploaded to PyPI.
  • 2018-05-15: nbdime 1.0.0 uploaded to PyPI.
  • 2026-02-10: nbdime 4.0.4 published.

Related projects

  • Project Jupyter
  • Jupyter Enhancement Proposal 8
  • Git diff and merge drivers for notebook files

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for nbdime. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 3 runtime dependencies.

Recommended review

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
nbdime_config.json in directories listed by `jupyter --paths`./nbdime_config.json

executables

Installed executables

CommandKindExposureNote
git-nbdiffdrivercliglobal executable
git-nbdifftoolcliglobal executable
git-nbmergedrivercliglobal executable
git-nbmergetoolcliglobal executable
hg-nbdiffcliglobal executable
hg-nbdiffwebcliglobal executable
hg-nbmergecliglobal executable
hg-nbmergewebcliglobal executable
nbdiffcliglobal executable
nbdiff-webcliglobal executable
nbdimecliglobal executable
nbmergecliglobal executable
nbmerge-webcliglobal executable
nbshowcliglobal 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 version4.0.4
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://nbdime.readthedocs.io

install metadata

Package metadata

Package keybrew:nbdime
Version4.0.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nbdime
Homepagehttps://nbdime.readthedocs.io
Repositoryhttps://github.com/jupyter/nbdime
Upstream docshttps://nbdime.readthedocs.io/en/latest
LicenseBSD-3-Clause
Source archivehttps://files.pythonhosted.org/packages/0c/22/d1ae77115b96b2ff8df6bbc54f8651eeb02d5716cea9079cdf94eaf6bb8b/nbdime-4.0.4.tar.gz
Last updated2026-06-22T14:05:35-07:00
Pulseupdated
Dependenciescertifi, jupyterlab, python@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenbdime
Version Scheme0
Revision3
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Nix92%

nbmerge

nix profile install nixpkgs#nbmerge
  • installed executable or alias match
  • Matched by: Nbmerge
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nb/nbmerge/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

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.

Used sources

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