# dcm2niix を Homebrew, apt, dnf, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:dcm2niix
```

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

### macOS

- Homebrew (100%):

```sh
brew install dcm2niix
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dcm2niix
```

  証拠: MacPorts ports tree: science/dcm2niix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install dcm2niix
```

  証拠: Debian stable package indexes: dcm2niix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dcm2niix
```

  証拠: Fedora Rawhide package metadata: dcm2niix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dcm2niix
```

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

## パッケージ情報

- **パッケージキー:** brew:dcm2niix
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.20260724
- **ソース概要:** DICOM to NIfTI converter
- **ホームページ:** <https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage>
- **リポジトリ:** <https://github.com/rordenlab/dcm2niix>
- **最終更新:** 2026-07-24T20:44:32Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dcm2niix (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

dcm2niix is a command-line DICOM-to-NIfTI converter for neuroimaging data. The official README frames the problem plainly: medical imaging devices usually save DICOM, while many scientific tools expect the simpler NIfTI format.

### プロジェクトの歴史

The GitHub repository was created in 2014 and hosts developmental source code, while stable compiled builds are distributed through GitHub releases and MRIcroGL. The project also documents a NITRC wiki/manual lineage under the dcm2nii name, with dcm2nii listed as the deprecated predecessor for older images and dcm2niix positioned as the modern converter.

### 採用の歴史

dcm2niix became central to neuroimaging data conversion because it handles DICOM vendor variation, writes NIfTI outputs, and can generate BIDS sidecar JSON. The official README explicitly calls it a core dependency of BIDS converters and lists many wrappers, research pipelines, GUI tools, and platforms that invoke it.

### 使われ方

Typical package-manager usage is a simple conversion command against a DICOM folder, optionally selecting output directory, filename format, gzip compression, anonymized BIDS sidecars, and vendor-specific conversion behavior. The CLI also has a defaults file mode and can use pigz for faster compression when available.

### パッケージ好きにとっての重要性

dcm2niix is significant because it is the boring executable underneath a large amount of modern neuroimaging workflow automation. Packagers care about it because one small binary unlocks reproducible import into NIfTI and BIDS-oriented pipelines across Linux, macOS, and Windows.

### タイムライン

- 2014: Official GitHub repository created.
- 2016: README cites the DICOM-to-NIfTI conversion methods paper by Li, Morgan, Ashburner, Smith, and Rorden.
- 2010s-2020s: README documents adoption by many BIDS converters and neuroimaging pipelines.
- 2026: Official GitHub API metadata shows repository activity continuing into June 2026.

### Related projects

- The README names dcm2nii as the deprecated predecessor and MRIcroGL as a distribution path. It also links dcm2niix to BIDS converters and many neuroimaging tools that shell out to the converter.

### ソース

- <https://github.com/rordenlab/dcm2niix>
- <https://raw.githubusercontent.com/rordenlab/dcm2niix/master/README.md>
- <https://raw.githubusercontent.com/rordenlab/dcm2niix/master/docs/source/dcm2niix.rst>
- <https://api.github.com/repos/rordenlab/dcm2niix>


## セキュリティノート

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


## 他のパッケージマネージャ記録

- Debian apt - dcm2niix - 1.0.20241211-1: normalized package name match | Debian stable package indexes: dcm2niix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | next generation DICOM to NIfTI converter | https://github.com/rordenlab/dcm2niix
- Nix - dcm2niix: normalized package name match | nixpkgs package indexes: pkgs/by-name/dc/dcm2niix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dcm2niix - 1.0.20220720-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: dcm2niix from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | next generation DICOM to NIfTI converter | https://github.com/rordenlab/dcm2niix
- dnf - dcm2niix - 1.0.20260724-1.fc45: normalized package name match | Fedora Rawhide package metadata: dcm2niix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | DICOM to NIfTI converter | https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage
- dnf - python3-dcm2niix - 1.0.20260724-1.fc45: normalized package name match | Fedora Rawhide package metadata: python3-dcm2niix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Thin wrapper around dcm2niix binary | https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage
- MacPorts - dcm2niix: normalized package name match | MacPorts ports tree: science/dcm2niix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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