# 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
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- riff (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.6.1

## Security Notes

narrow executable package without higher-risk signals.

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

## 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


## 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
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
