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

Tool to perform numerical, textual & statistical operations. Version 1.9 via Homebrew; verified from local package data.

## 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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
- **Package manager page:** <https://formulae.brew.sh/formula/datamash>
- **Version:** 1.9
- **Source summary:** Tool to perform numerical, textual & statistical operations
- **Homepage:** <https://www.gnu.org/software/datamash/>
- **Repository:** <https://git.savannah.gnu.org/gitweb?p=datamash.git>
- **Upstream docs:** <https://www.gnu.org/software/datamash>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://ftpmirror.gnu.org/gnu/datamash/datamash-1.9.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- datamash (cli)
- decorate (cli)
- datamash (alias)
- decorate (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.9
- Local data: ok
- Upstream repository: https://www.gnu.org/software/datamash/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** datamash
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 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-3.fc44: normalized package name match | Fedora Rawhide package metadata: datamash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.4: normalized package name match | openSUSE Tumbleweed package metadata: datamash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [topfew](https://www.automicvault.com/pkg/brew/topfew/) - Shares av.db curated category or tags: cli, data, statistics, text-processing.
- [beanquery](https://www.automicvault.com/pkg/brew/beanquery/) - Shares av.db curated category or tags: cli, data, tabular-data.
- [chadwick](https://www.automicvault.com/pkg/brew/chadwick/) - Shares av.db curated category or tags: cli, data, statistics.
- [csvkit](https://www.automicvault.com/pkg/brew/csvkit/) - Shares av.db curated category or tags: cli, data, tabular-data.
- [ffe](https://www.automicvault.com/pkg/brew/ffe/) - Shares av.db curated category or tags: cli, data, text-processing.
- [gdbm](https://www.automicvault.com/pkg/brew/gdbm/) - Shares av.db curated category or tags: cli, data, gnu.
- [glom](https://www.automicvault.com/pkg/brew/glom/) - Shares av.db curated category or tags: cli, data, data-transformation.
- [recutils](https://www.automicvault.com/pkg/brew/recutils/) - Shares av.db curated category or tags: cli, data, gnu.
- [enscript](https://www.automicvault.com/pkg/brew/enscript/) - Local package facts share a topical domain. Shared terms: cli, gnu, processing, text, text-processing.
- [gawk](https://www.automicvault.com/pkg/brew/gawk/) - Local package facts share a topical domain. Shared terms: cli, gnu, processing, text, text-processing.

## Combined YAML source

View the package source record on GitHub. [combined/datamash.yml](https://github.com/automic-vault/db/blob/main/combined/datamash.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
