# 使用 Homebrew, apk, MacPorts, Nix, apt 安装 clipper

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

## 安装

```sh
sudo av install brew:clipper
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install clipper
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clipper
```

  证据: MacPorts ports tree: science/clipper/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add clipper
```

  证据: Alpine Linux edge package indexes: clipper from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#clipper
```

  证据: nixpkgs package indexes: pkgs/by-name/cl/clipper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install libclipper-dev
```

  证据: Debian stable package indexes: libclipper-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:clipper
- **软件包管理器:** Homebrew
- **版本:** 3.0.0
- **来源摘要:** Share macOS clipboard with tmux and other local and remote apps
- **主页:** <https://github.com/wincent/clipper>
- **仓库:** <https://github.com/wincent/clipper>
- **最后更新:** 2026-07-27T22:04:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- clipper (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.0.0
## 项目历史与用法

Clipper is a small daemon or macOS launch agent that exposes the local clipboard to tmux, Vim, SSH, and other local or remote processes.

### 项目历史

The GitHub repository was created on 2013-02-18. The official README frames Clipper as a solution to a long-standing tmux and macOS pasteboard problem: processes started by tmux often cannot directly talk to the system clipboard, and remote tmux sessions make that harder.

Clipper listens on TCP or a Unix domain socket, receives copied text, and writes it into the local system clipboard. It can run as a macOS launch agent or Linux systemd user service.

### 采用历史

Homebrew packages Clipper for macOS users and the input package facts also identify packaging in Alpine, MacPorts, Nix, Debian, and Ubuntu contexts. GitHub repository metadata showed hundreds of stars, indicating durable usage in the tmux and remote-shell niche.

### 使用方式

The README shows tmux bindings using `copy-pipe` or `copy-pipe-and-cancel` with netcat or socat, Vim mappings that send yanked text to Clipper, shell aliases such as `clip="nc localhost 8377"`, and SSH `RemoteForward` rules that carry remote clipboard traffic back to the local machine.

### 为什么软件包爱好者会关心

Clipper matters to package nerds because it packages a very specific workstation integration problem: making tmux, Vim, SSH, pbcopy, xclip, launch agents, systemd user services, netcat, and Unix sockets cooperate. It is small, old, and practical, exactly the kind of utility that survives in package repositories because it solves one annoying terminal workflow.

### 时间线

- 2013-02-18: GitHub repository is created.
- 2010s: README documents tmux versions before and after 2.4, reflecting compatibility with older tmux copy-mode APIs.
- 2026: Homebrew formula tracks stable release 3.0.0 from the official GitHub tag archive.

### Related projects

- The README names reattach-to-user-space / tmux-MacOSX-pasteboard as an earlier workaround for macOS pasteboard context problems.
- The README links to companion Vim integrations nvim-clipper and vim-clipper.

### 来源

- <https://github.com/wincent/clipper#readme>
- <https://formulae.brew.sh/api/formula/clipper.json>
- <https://github.com/wincent/clipper>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/clipper/clipper.json, ~/.config/clipper/clipper.json, ~/.clipper.json
## 其他软件包管理器记录

- Debian apt - libclipper-dev - 2.1.20201109-2+b3: normalized package name match | Debian stable package indexes: libclipper-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | object oriented development kit for crystallographic computing | http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
- Debian apt - libclipper-doc - 2.1.20201109-2: normalized package name match | Debian stable package indexes: libclipper-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | doxygen generated documentation for libclipper | http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
- Debian apt - libclipper2 - 2.1.20201109-2+b3: normalized package name match | Debian stable package indexes: libclipper2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | object oriented library for crystallographic computing | http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
- Nix - clipper: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clipper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libclipper-dev - 2.1.20201109-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libclipper-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | object oriented development kit for crystallographic computing | http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
- Ubuntu apt - libclipper-doc - 2.1.20201109-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libclipper-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | doxygen generated documentation for libclipper | http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
- Ubuntu apt - libclipper2 - 2.1.20201109-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libclipper2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | object oriented library for crystallographic computing | http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
- apk - clipper - 6.4.2-r5: normalized package name match | Alpine Linux edge package indexes: clipper from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Polygon, line clipping and offsetting library | https://sourceforge.net/projects/polyclipping/
- apk - clipper-dev - 6.4.2-r5: normalized package name match | Alpine Linux edge package indexes: clipper-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Polygon, line clipping and offsetting library (development files) | https://sourceforge.net/projects/polyclipping/
- apk - clipper-static - 6.4.2-r5: normalized package name match | Alpine Linux edge package indexes: clipper-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Polygon, line clipping and offsetting library (static library) | https://sourceforge.net/projects/polyclipping/
- MacPorts - clipper: normalized package name match | MacPorts ports tree: science/clipper/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/clipper.yml](https://github.com/mxcl/pkgdb/blob/main/combined/clipper.yml)


## 来源

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