Automic VaultAutomic Vault

brew

Install dcm2niix with Homebrew, apt, dnf, MacPorts, Nix

DICOM to NIfTI converter. Version 1.0.20260416 via Homebrew; verified 2026-05-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dcm2niix

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dcm2niix

MacPorts ports tree · science/dcm2niix/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install dcm2niix

Debian stable package indexes · dcm2niix · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install dcm2niix

Fedora Rawhide package metadata · dcm2niix · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#dcm2niix

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

overview

Package summary

DICOM to NIfTI converter

Commands and aliases

  • dcm2niix

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for dcm2niix. 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 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
dcm2niixcliglobal 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 version1.0.20260416
manager updated2026-05-07
local dataok
upstreamcurrent
latest detectedv1.0.20260416

https://github.com/rordenlab/dcm2niix

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:dcm2niix
Version1.0.20260416
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dcm2niix
Homepagehttps://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage
Repositoryhttps://github.com/rordenlab/dcm2niix
Upstream docshttps://github.com/rordenlab/dcm2niix/blob/master/docs/source/dcm2niix.rst
LicenseBSD-3-Clause
Source archivehttps://github.com/rordenlab/dcm2niix/archive/refs/tags/v1.0.20260416.tar.gz
Last updated2026-05-07T20:43:44Z
Pulseupdated
Build dependenciescmake
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 Namedcm2niix
Version Scheme1
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.

Debian apt95%

dcm2niix 1.0.20241211-1

next generation DICOM to NIfTI converter

https://github.com/rordenlab/dcm2niix

sudo apt install dcm2niix
  • Section: science
  • Architecture: amd64
  • 6 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Dcm2niix
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dcm2niix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dcm2niix

nix profile install nixpkgs#dcm2niix
  • normalized package name match
  • Matched by: Dcm2niix
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dc/dcm2niix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dcm2niix 1.0.20220720-1build1

next generation DICOM to NIfTI converter

https://github.com/rordenlab/dcm2niix

sudo apt install dcm2niix
  • Section: universe/science
  • Architecture: amd64
  • 6 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Dcm2niix
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dcm2niix from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

dcm2niix 1.0.20260416-2.fc45

DICOM to NIfTI converter

https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage

sudo dnf install dcm2niix
  • License: BSD-2-Clause AND BSD-3-Clause AND FSFAP AND LicenseRef-Fedora-Public-Domain AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dcm2niix
  • 10 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Dcm2niix
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dcm2niix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-dcm2niix 1.0.20260416-2.fc45

Thin wrapper around dcm2niix binary

https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage

sudo dnf install python3-dcm2niix
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: dcm2niix
  • 2 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Dcm2niix
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-dcm2niix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

dcm2niix

sudo port install dcm2niix
  • normalized package name match
  • Matched by: Dcm2niix
MacPorts ports tree · api.github.com · MacPorts ports tree: science/dcm2niix/Portfile from https://api.github.com/repos/macports/macports-ports/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment