macOS
brew install yanklocal Homebrew formula metadata
sudo port install yankMacPorts ports tree · sysutils/yank/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für yank in AI-Agent-Workflows.
Installation
brew install yanklocal Homebrew formula metadata
sudo port install yankMacPorts ports tree · sysutils/yank/Portfile · Quelle: api.github.com
sudo apk add yankAlpine Linux edge package indexes · yank · Quelle: dl-cdn.alpinelinux.org
sudo apt install yankDebian stable package indexes · yank · Quelle: deb.debian.org
sudo dnf install yankFedora Rawhide package metadata · yank · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#yanknixpkgs package indexes · pkgs/by-name/ya/yank/package.nix · Quelle: api.github.com
sudo pacman -S yankArch Linux sync databases · yank · Quelle: geo.mirror.pkgbuild.com
sudo zypper install yankopenSUSE Tumbleweed package metadata · yank · Quelle: download.opensuse.org
winget install --id nasiridrishi.Yank -eWindows Package Manager source index · nasiridrishi.Yank · Quelle: cdn.winget.microsoft.com
Überblick
Copy terminal output to clipboard
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
yank | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:yank |
|---|---|
| Version | 1.3.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/yank |
| Homepage | https://github.com/mptre/yank |
| Repository | https://github.com/mptre/yank |
| Upstream-Dokumentation | https://github.com/mptre/yank#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/mptre/yank/archive/refs/tags/v1.3.0.tar.gz |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.