# Install riff with Homebrew, apk, MacPorts, Nix, zypper, scoop

Diff filter highlighting which line parts have changed. Version 3.6.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#riff.

## Install

```sh
sudo av install brew:riff
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install riff
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install riff
```

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

### Linux

- apk (92%):

```sh
sudo apk add riff
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#riff
```

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

- zypper (92%):

```sh
sudo zypper install riff
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/riff
```

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

## Package facts

- **Package key:** brew:riff
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/riff>
- **Version:** 3.6.1
- **Source summary:** Diff filter highlighting which line parts have changed
- **Homepage:** <https://github.com/walles/riff>
- **Repository:** <https://github.com/walles/riff>
- **License:** MIT
- **Source archive:** <https://github.com/walles/riff/archive/refs/tags/3.6.1.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- riff (cli)
- riff (alias)

## Build dependencies

- rust

## 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: 3.6.1
- Local data: ok
- Upstream repository: https://github.com/walles/riff
- Upstream latest detected: 3.6.1 (current)
- info: No package-manager update timestamp was available.

## 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:** riff
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - riff: normalized package name match | nixpkgs package indexes: pkgs/by-name/ri/riff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - riff - 3.6.1-r1: normalized package name match | Alpine Linux edge package indexes: riff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Diff wrapper that highlights changed portions of lines | https://github.com/walles/riff
- apk - riff-doc - 3.6.1-r1: normalized package name match | Alpine Linux edge package indexes: riff-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Diff wrapper that highlights changed portions of lines (documentation) | https://github.com/walles/riff
- zypper - riff - 3.6.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: riff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A diff filter highlighting which line parts have changed | https://github.com/walles/riff
- MacPorts - riff: normalized package name match | MacPorts ports tree: textproc/riff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/riff: normalized package name match | Scoop official bucket manifest trees: bucket/riff.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [diffr](https://pkg.so/brew/diffr/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, syntax-highlighting.
- [difftastic](https://pkg.so/brew/difftastic/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diffutils](https://pkg.so/brew/diffutils/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diff-so-fancy](https://pkg.so/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [colordiff](https://pkg.so/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diffoscope](https://pkg.so/brew/diffoscope/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [dyff](https://pkg.so/brew/dyff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diffnav](https://pkg.so/brew/diffnav/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [git-split-diffs](https://pkg.so/brew/git-split-diffs/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, diff, highlighting.
- [hicat](https://pkg.so/npm/hicat/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, highlighting, line.

## Combined YAML source

View the package source record on GitHub. [combined/riff.yml](https://github.com/mxcl/pkgdb/blob/main/combined/riff.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
