# Install datamash with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

Tool to perform numerical, textual & statistical operations. Version 1.9 via Homebrew; verified from local package data. Also installable with debian: sudo apt install datamash.

## Install

```sh
sudo av install brew:datamash
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install datamash
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install datamash
```

  Evidence: MacPorts ports tree: textproc/datamash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add datamash
```

  Evidence: Alpine Linux edge package indexes: datamash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install datamash
```

  Evidence: Debian stable package indexes: datamash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install datamash
```

  Evidence: Fedora Rawhide package metadata: datamash 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#datamash
```

  Evidence: nixpkgs package indexes: pkgs/by-name/da/datamash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S datamash
```

  Evidence: Arch Linux sync databases: datamash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install datamash
```

  Evidence: openSUSE Tumbleweed package metadata: datamash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/datamash
```

  Evidence: Scoop official bucket manifest trees: bucket/datamash.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:datamash
- **Package manager:** Homebrew
- **Version:** 1.9
- **Source summary:** Tool to perform numerical, textual & statistical operations
- **Homepage:** <https://www.gnu.org/software/datamash/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- datamash (alias)
- decorate (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.9
## Project history and usage

GNU Datamash is a GNU command-line program for numeric, textual, and statistical operations on delimited text files.

### Project history

Datamash entered the GNU ecosystem as a small Unix-style data tool: it keeps the pipeline model of tools such as `sort`, `cut`, and `uniq`, but adds grouped statistics and table-oriented operations.

### Adoption history

Its adoption is tied to shell users who want spreadsheet-like aggregations without leaving pipes. The GNU project page and manual make it available as a documented GNU package with a Savannah source repository.

### How it is used

Typical package use is in scripts and one-off terminal pipelines, where `datamash` can group fields, calculate summary statistics, transpose data, and transform tabular text.

### Why package nerds care

For package nerds, Datamash fills the gap between classic text filters and heavier data tools: it is a tiny install that adds statistics to POSIX-flavored shell workflows.

### Timeline

- 2014: GNU Datamash is documented as part of the GNU software collection.
- 2025: GNU Datamash 1.9 is listed in project release notes.

### Related projects

- Core GNU text utilities such as `sort`, `cut`, and `uniq` are close companions in the same pipeline style.

### Sources

- <https://www.gnu.org/software/datamash>
- <https://www.gnu.org/software/datamash/manual/datamash.html>
- <https://git.savannah.gnu.org/gitweb?p=datamash.git>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - datamash - 1.9-1: normalized package name match | Debian stable package indexes: datamash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | statistics tool for command-line interface | https://savannah.gnu.org/projects/datamash/
- Nix - datamash: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/datamash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - datamash - 1.8-1: normalized package name match | Ubuntu 24.04 LTS package indexes: datamash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | statistics tool for command-line interface | https://savannah.gnu.org/projects/datamash/
- apk - datamash - 1.9-r1: normalized package name match | Alpine Linux edge package indexes: datamash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line text/math processing | https://www.gnu.org/software/datamash/
- apk - datamash-bash-completion - 1.9-r1: normalized package name match | Alpine Linux edge package indexes: datamash-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for datamash | https://www.gnu.org/software/datamash/
- apk - datamash-doc - 1.9-r1: normalized package name match | Alpine Linux edge package indexes: datamash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line text/math processing (documentation) | https://www.gnu.org/software/datamash/
- dnf - datamash - 1.9-4.fc45: normalized package name match | Fedora Rawhide package metadata: datamash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A statistical, numerical and textual operations tool | https://www.gnu.org/software/datamash/
- pacman - datamash - 1.9-1: normalized package name match | Arch Linux sync databases: datamash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Performs basic numeric, textual and statistical operations on input textual data files | https://www.gnu.org/software/datamash
- zypper - datamash - 1.9-1.6: normalized package name match | openSUSE Tumbleweed package metadata: datamash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Statistical, numerical and textual operations in the command line | https://www.gnu.org/software/datamash/
- MacPorts - datamash: normalized package name match | MacPorts ports tree: textproc/datamash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/datamash: normalized package name match | Scoop official bucket manifest trees: bucket/datamash.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
