# Install ouch with Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop

Painless compression and decompression for your terminal. Version 0.8.1 via Homebrew; verified 2026-07-11. Also installable with nix: nix profile install nixpkgs#ouch.

## Install

```sh
sudo av install brew:ouch
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ouch
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ouch
```

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

### Linux

- apk (92%):

```sh
sudo apk add ouch
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ouch
```

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

- pacman (92%):

```sh
sudo pacman -S ouch
```

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

- zypper (92%):

```sh
sudo zypper install ouch
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/ouch
```

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

## Package facts

- **Package key:** brew:ouch
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ouch>
- **Version:** 0.8.1
- **Source summary:** Painless compression and decompression for your terminal
- **Homepage:** <https://github.com/ouch-org/ouch>
- **Repository:** <https://github.com/ouch-org/ouch>
- **License:** MIT
- **Source archive:** <https://github.com/ouch-org/ouch/archive/refs/tags/0.8.1.tar.gz>
- **Last updated:** 2026-07-11T09:50:50+09:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- ouch (cli)
- ouch (alias)

## Build dependencies

- cmake
- rust

## Uses from macOS

- bzip2
- xz

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.8.1
- Package-manager updated: 2026-07-11
- Local data: ok
- Upstream repository: https://github.com/ouch-org/ouch
- Upstream latest detected: 0.8.1 (current)

## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ouch
- **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

- Nix - ouch: normalized package name match | nixpkgs package indexes: pkgs/by-name/ou/ouch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ouch - 0.6.1-r0: normalized package name match | Alpine Linux edge package indexes: ouch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Painless compression and decompression | https://github.com/ouch-org/ouch
- apk - ouch-bash-completion - 0.6.1-r0: normalized package name match | Alpine Linux edge package indexes: ouch-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for ouch | https://github.com/ouch-org/ouch
- apk - ouch-doc - 0.6.1-r0: normalized package name match | Alpine Linux edge package indexes: ouch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Painless compression and decompression (documentation) | https://github.com/ouch-org/ouch
- apk - ouch-fish-completion - 0.6.1-r0: normalized package name match | Alpine Linux edge package indexes: ouch-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for ouch | https://github.com/ouch-org/ouch
- apk - ouch-zsh-completion - 0.6.1-r0: normalized package name match | Alpine Linux edge package indexes: ouch-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for ouch | https://github.com/ouch-org/ouch
- pacman - ouch - 0.8.0-2: normalized package name match | Arch Linux sync databases: ouch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command line utility for easily compressing and decompressing files and directories | https://github.com/ouch-org/ouch
- zypper - ouch - 0.8.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ouch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Compression and decompression utility for the terminal | https://github.com/ouch-org/ouch
- MacPorts - ouch: normalized package name match | MacPorts ports tree: sysutils/ouch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ouch: normalized package name match | Scoop official bucket manifest trees: bucket/ouch.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/archive-compression-tools/) - Matched archive or compression metadata.
- [cmake](https://pkg.so/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [crabz](https://pkg.so/brew/crabz/) - Shares pkgdb curated category or tags: cli, compression, decompression, rust, system.
- [lz4](https://pkg.so/brew/lz4/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzip](https://pkg.so/brew/lzip/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzfse](https://pkg.so/brew/lzfse/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzop](https://pkg.so/brew/lzop/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lizard](https://pkg.so/brew/lizard/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [t2sz](https://pkg.so/brew/t2sz/) - Shares pkgdb curated category or tags: archives, cli, compression, system.
- [lzsa](https://pkg.so/brew/lzsa/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
