macOS
brew install nbdimelocal Homebrew formula metadata
brew
Jupyter Notebook Diff and Merge tools. Version 4.0.4 via Homebrew; verified 2026-06-22.
install
brew install nbdimelocal Homebrew formula metadata
nix profile install nixpkgs#nbmergenixpkgs package indexes · pkgs/by-name/nb/nbmerge/package.nix · source: api.github.com
overview
Jupyter Notebook Diff and Merge tools
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
nbdime_config.json in directories listed by `jupyter --paths`./nbdime_config.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git-nbdiffdriver | cli | global executable | |
git-nbdifftool | cli | global executable | |
git-nbmergedriver | cli | global executable | |
git-nbmergetool | cli | global executable | |
hg-nbdiff | cli | global executable | |
hg-nbdiffweb | cli | global executable | |
hg-nbmerge | cli | global executable | |
hg-nbmergeweb | cli | global executable | |
nbdiff | cli | global executable | |
nbdiff-web | cli | global executable | |
nbdime | cli | global executable | |
nbmerge | cli | global executable | |
nbmerge-web | cli | global executable | |
nbshow | cli | global executable |
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.
install metadata
| Package key | brew:nbdime |
|---|---|
| Version | 4.0.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nbdime |
| Homepage | https://nbdime.readthedocs.io |
| Repository | https://github.com/jupyter/nbdime |
| Upstream docs | https://nbdime.readthedocs.io/en/latest |
| License | BSD-3-Clause |
| Source archive | https://files.pythonhosted.org/packages/0c/22/d1ae77115b96b2ff8df6bbc54f8651eeb02d5716cea9079cdf94eaf6bb8b/nbdime-4.0.4.tar.gz |
| Last updated | 2026-06-22T14:05:35-07:00 |
| Pulse | updated |
| Dependencies | certifi, jupyterlab, python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nbdime |
| Version Scheme | 0 |
| Revision | 3 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
nbmerge
nix profile install nixpkgs#nbmergesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.