pkg.soopen package index

brew / 排名 7045

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 yank

查看 yank 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yank

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install yank

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add yank

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

Debian apt已验证 · 92%
sudo apt install yank

Debian stable package indexes · yank · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install yank

Fedora Rawhide package metadata · yank · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#yank

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

Arch Linux pacman已验证 · 92%
sudo pacman -S yank

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

openSUSE zypper已验证 · 92%
sudo zypper install yank

openSUSE Tumbleweed package metadata · yank · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id nasiridrishi.Yank -e

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

概览

软件包摘要

Copy terminal output to clipboard

命令和别名

  • yank

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
yank可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.4.0
管理器更新时间2026-07-16
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:yank
版本1.4.0
软件包管理器Homebrew
主页https://github.com/mptre/yank
仓库https://github.com/mptre/yank
最后更新2026-07-16T21:39:13Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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.4.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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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.4.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
  • 匹配方式: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.4.0-1.fc45

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

yank 1.4.0-1

Copy terminal output to clipboard

https://github.com/mptre/yank

sudo pacman -S yank
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式: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.12

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yank
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: yank from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

yank

sudo port install yank
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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