pkg.soopen package index

brew / 順位 5156

riff を Homebrew, apk, MacPorts, Nix, zypper, scoop でインストール

riff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install riff

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install riff

MacPorts ports tree · textproc/riff/Portfile · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install extras/riff

Scoop official bucket manifest trees · bucket/riff.json · ソース: api.github.com

概要

パッケージ概要

Diff filter highlighting which line parts have changed

コマンドとエイリアス

  • riff

履歴

プロジェクトの歴史と使われ方

Riff, short for Refining Diff, is a command-line diff filter that highlights exactly which portions of changed lines differ.

プロジェクトの歴史

Riff was developed by Johan Walles as a diff refiner that identifies replaced regions and highlights the changed portions within individual lines. The implementation evolved into a Rust CLI supporting plain diffs, Git patches, merge conflicts, pager selection, hyperlinks, and whitespace highlighting.

Later releases added source-line hyperlinks and changed the default unchanged-text style to yellow. The official release history shows continued iterative releases in the 3.x series.

採用の歴史

Riff is distributed through Homebrew, Cargo, Linux package channels, MacPorts, Scoop, and Nix-related packaging. Its README also documents persistent Git integration through pager and interactive-diff-filter settings.

使われ方

Pipe a diff through `riff`, use `riff` as a replacement front end for `diff`, or configure it as Git's diff, show, log, and interactive diff filter. Options may be supplied persistently through the space-separated `RIFF` environment variable.

パッケージ好きにとっての重要性

Riff occupies the Unix-filter niche between raw diff producers and full-screen diff viewers. Package users value that it can refine streamed output without changing its line count, preserving compatibility with workflows such as `git add -p`.

タイムライン

  • 2017: Public development began around refining Git and traditional diff output.
  • 2020s: Riff was rewritten and distributed as the Rust crate `riffdiff`.
  • 2025–2026: The 3.x release line added terminal hyperlinks and refined default styling.

Related projects

  • Riff wraps or filters output from `diff` and Git. Its pager selection prefers the `PAGER` environment setting, then `moor`, then `less`.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 7 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
riffcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-11-04
マネージャ版3.6.2
マネージャ更新日2026-10-11
ローカルデータOK
上流最新
検出された最新3.6.2

https://github.com/walles/riff

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:riff
バージョン3.6.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/riff
ホームページhttps://github.com/walles/riff
リポジトリhttps://github.com/walles/riff
ライセンスMIT
ソースアーカイブhttps://github.com/walles/riff/archive/refs/tags/3.6.2.tar.gz
最終更新2026-10-11T19:50:20-04:00
Pulseupdated
ビルド依存関係rust
Bottle利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameriff
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

riff

nix profile install nixpkgs#riff
  • normalized package name match
  • 一致条件: Riff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ri/riff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

riff 3.6.1-r1

Diff wrapper that highlights changed portions of lines

https://github.com/walles/riff

sudo apk add riff
  • License: MIT
  • Architecture: x86_64
  • Source Package: riff
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Riff
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: riff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

riff-doc 3.6.1-r1

Diff wrapper that highlights changed portions of lines (documentation)

https://github.com/walles/riff

sudo apk add riff-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: riff
  • normalized package name match
  • 一致条件: Riff
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: riff-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
zypper95%

riff 3.6.2-1.1

A diff filter highlighting which line parts have changed

https://github.com/walles/riff

sudo zypper install riff
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: riff
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Riff
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: riff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

riff

sudo port install riff
  • normalized package name match
  • 一致条件: Riff
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/riff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/riff

scoop install extras/riff
  • normalized package name match
  • 一致条件: Riff
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/riff.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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