# nbdime を Homebrew, Nix でインストール

nbdime のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:nbdime
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install nbdime
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nbmerge
```

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

## パッケージ情報

- **パッケージキー:** brew:nbdime
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.0.4
- **ソース概要:** Jupyter Notebook Diff and Merge tools
- **ホームページ:** <https://nbdime.readthedocs.io>
- **最終更新:** 2026-07-25T10:26:14Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-nbdiffdriver (エイリアス)
- git-nbdifftool (エイリアス)
- git-nbmergedriver (エイリアス)
- git-nbmergetool (エイリアス)
- hg-nbdiff (エイリアス)
- hg-nbdiffweb (エイリアス)
- hg-nbmerge (エイリアス)
- hg-nbmergeweb (エイリアス)
- nbdiff (エイリアス)
- nbdiff-web (エイリアス)
- nbdime (エイリアス)
- nbmerge (エイリアス)
- nbmerge-web (エイリアス)
- nbshow (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.0.4
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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

### ソース

- <https://api.github.com/repos/jupyter/nbdime>
- <https://formulae.brew.sh/api/formula/nbdime.json>
- <https://github.com/jupyter/nbdime>
- <https://jupyter.org/enhancement-proposals/08-notebook-diff/notebook-diff.html>
- <https://nbdime.readthedocs.io/>
- <https://pypi.org/pypi/nbdime/json>
- <https://pypistats.org/api/packages/nbdime/recent>
- <https://pyvideo.org/scipy-2016/diffing-and-merging-jupyter-notebooks-with-nbdime-scipy-2016-min-ragan-kelley.html>
- <https://raw.githubusercontent.com/jupyter/nbdime/master/README.md>


## セキュリティノート

nbdime に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

- Unix: nbdime_config.json in directories listed by `jupyter --paths`, ./nbdime_config.json
## 他のパッケージマネージャ記録

- Nix - nbmerge: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/nb/nbmerge/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/nbdime.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nbdime.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
