macOS
brew install yanklocal Homebrew formula metadata
sudo port install yankMacPorts ports tree · sysutils/yank/Portfile · ソース: api.github.com
brew
yank のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install yanklocal Homebrew formula metadata
sudo port install yankMacPorts ports tree · sysutils/yank/Portfile · ソース: api.github.com
sudo apk add yankAlpine Linux edge package indexes · yank · ソース: dl-cdn.alpinelinux.org
sudo dnf install yankFedora Rawhide package metadata · yank · ソース: dl.fedoraproject.org
nix profile install nixpkgs#yanknixpkgs package indexes · pkgs/by-name/ya/yank/package.nix · ソース: api.github.com
sudo pacman -S yankArch Linux sync databases · yank · ソース: geo.mirror.pkgbuild.com
sudo zypper install yankopenSUSE Tumbleweed package metadata · yank · ソース: download.opensuse.org
winget install --id nasiridrishi.Yank -eWindows Package Manager source index · nasiridrishi.Yank · ソース: cdn.winget.microsoft.com
概要
Copy terminal output to clipboard
履歴
yank is a small C terminal utility for selecting fields from command output and copying the selection to a clipboard command. It reads from stdin, presents a keyboard-driven selection interface, and writes the chosen field to a yank command such as xsel or pbcopy.
The GitHub repository was created on 2015-08-24. The README frames the project around a terminal-user frustration: copying output with the mouse feels like a cache miss, while terminal multiplexer copy modes are not always available or desired.
The design stayed terminal-agnostic. yank recognizes fields either by regular expression with `-g` or by delimiter with `-d`, supports line selection with `-l`, and lets users replace the default clipboard command by passing a command after `--`.
yank has the kind of packaging spread typical of beloved Unix conveniences. The README documents installation through Arch Linux, Debian, Fedora, Nix/NixOS, openSUSE, Homebrew, MacPorts, FreeBSD, OpenBSD, and source builds. The supplied package data also shows broad distribution coverage.
Some Linux distributions install the binary as `yank-cli` because of a naming conflict, an adoption detail that matters to users searching for the command after installing the package.
Common examples include `env | yank -d =` to select an environment variable key or value, `yank -d ", <file.csv` for CSV fields, `make 2>&1 | yank -l` for whole-line selection, and `ps ux | yank -g [0-9]+ | xargs kill` when stdout is not a terminal.
On X11 the default command is xsel. macOS users can build with `YANKCMD=pbcopy`, and the README also mentions shcopy for copying over SSH or from headless environments.
yank is package-nerd significant because it solves a tiny but common shell workflow problem in the Unix way: compose stdin, regex/delimiter selection, stdout fallback, and pluggable clipboard commands.
It also demonstrates why package names and binary names matter: the same tool may be installed as `yank` or `yank-cli` depending on distribution conflicts, which is exactly the sort of detail package catalogs help users untangle.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
yank | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:yank |
|---|---|
| バージョン | 1.3.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/yank |
| ホームページ | https://github.com/mptre/yank |
| リポジトリ | https://github.com/mptre/yank |
| 上流ドキュメント | https://github.com/mptre/yank#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/mptre/yank/archive/refs/tags/v1.3.0.tar.gz |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | yank |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
yank 1.3.0-1
interactively select and yank terminal output to stdout or xsel
sudo apt install yankyank
nix profile install nixpkgs#yankyank 1.3.0-1
interactively select and yank terminal output to stdout or xsel
sudo apt install yankyank 1.3.0-r0
Yank terminal output to clipboard
sudo apk add yankyank-doc 1.3.0-r0
Yank terminal output to clipboard (documentation)
sudo apk add yank-docyank 1.3.0-9.fc44
Tool for selecting and copying text from stdin without a mouse
sudo dnf install yankyank 1.3.0-2
Copy terminal output to clipboard
sudo pacman -S yankyank 1.3.0-1.10
Tool for selecting and copying text from stdin without a mouse
sudo zypper install yankyank
sudo port install yanknasiridrishi.Yank
winget install --id nasiridrishi.Yank -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.