Automic VaultAutomic Vault

brew

Installer yank avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de yank pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install yank

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install yank

MacPorts ports tree · sysutils/yank/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add yank

Alpine Linux edge package indexes · yank · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install yank

Debian stable package indexes · yank · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install yank

Fedora Rawhide package metadata · yank · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#yank

nixpkgs package indexes · pkgs/by-name/ya/yank/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S yank

Arch Linux sync databases · yank · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install yank

openSUSE Tumbleweed package metadata · yank · Source: download.opensuse.org

Windows

Windows Package Managervérifié · 92%
winget install --id nasiridrishi.Yank -e

Windows Package Manager source index · nasiridrishi.Yank · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Copy terminal output to clipboard

Commandes et alias

  • yank

historique

Historique du projet et usages

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.

Historique du projet

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 `--`.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2015-08-24: GitHub repository created.
  • 2015: README copyright period begins and motivation centered on terminal clipboard selection without a mouse or multiplexer.
  • 2010s: README documented distribution across Linux, BSD, and macOS package systems.
  • 2020s: Project continued as a compact C utility with source builds and configurable clipboard command support.

Related projects

  • Related tools include xsel, pbcopy, shcopy, terminal multiplexers, xargs, shell pipelines, package-manager variants that install yank-cli, and clipboard-oriented terminal utilities.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 8 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
yankcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire1.3.0
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev1.3.0

https://github.com/mptre/yank

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:yank
Version1.3.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/yank
Page d'accueilhttps://github.com/mptre/yank
Dépôthttps://github.com/mptre/yank
Docs amonthttps://github.com/mptre/yank#readme
LicenceMIT
Archive sourcehttps://github.com/mptre/yank/archive/refs/tags/v1.3.0.tar.gz
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

yank 1.3.0-1

interactively select and yank terminal output to stdout or xsel

https://github.com/mptre/yank

sudo apt install yank
  • Section: utils
  • Architecture: amd64
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Yank
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yank from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yank

nix profile install nixpkgs#yank
  • normalized package name match
  • Correspondance par : Yank
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yank/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

yank 1.3.0-1

interactively select and yank terminal output to stdout or xsel

https://github.com/mptre/yank

sudo apt install yank
  • Section: universe/utils
  • Architecture: amd64
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Yank
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yank from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yank 1.3.0-r0

Yank terminal output to clipboard

https://github.com/mptre/yank

sudo apk add yank
  • License: MIT
  • Architecture: x86_64
  • Source Package: yank
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Yank
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yank from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yank-doc 1.3.0-r0

Yank terminal output to clipboard (documentation)

https://github.com/mptre/yank

sudo apk add yank-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: yank
  • normalized package name match
  • Correspondance par : Yank
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yank-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

yank 1.3.0-9.fc44

Tool for selecting and copying text from stdin without a mouse

https://github.com/mptre/yank

sudo dnf install yank
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: yank
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Yank
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yank from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

yank 1.3.0-2

Copy terminal output to clipboard

https://github.com/mptre/yank

sudo pacman -S yank
  • License: MIT
  • Architecture: x86_64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Yank
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yank from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

yank 1.3.0-1.10

Tool for selecting and copying text from stdin without a mouse

https://github.com/mptre/yank

sudo zypper install yank
  • License: MIT
  • Category: Productivity/Other
  • Architecture: x86_64
  • Source Package: yank
  • 2 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Yank
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: yank from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

yank

sudo port install yank
  • normalized package name match
  • Correspondance par : Yank
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/yank/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

nasiridrishi.Yank

winget install --id nasiridrishi.Yank -e
  • normalized package name match
  • Correspondance par : Yank
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: nasiridrishi.Yank from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

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