# 使用 Homebrew 安装 xcv

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

## 安装

```sh
sudo av install brew:xcv
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xcv
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:xcv
- **软件包管理器:** Homebrew
- **版本:** 1.0.1
- **来源摘要:** Cut, copy and paste files with Bash
- **主页:** <https://github.com/busterc/xcv>
- **仓库:** <https://github.com/busterc/xcv>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xcv (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

xcv is a very small Bash utility that gives shell users cut, copy, paste, and list commands for files by staging selected paths in $HOME/.xcv.

### 项目历史

The project appeared at the start of 2015 with the v1.0.0 tag on its first public commit. Its README frames the tool as a wrapper around cp, mv, and ls, trading generality for a familiar desktop-like verb set: x for cut, c for copy, v for paste, and l for list.

Early commits fixed quoting, made the package bpkg-friendly, printed errors to stderr, and added dotfile support. The project was already small and largely complete by the v1.0.1 tag later in January 2015, with Homebrew installation added in 2016.

### 采用历史

xcv never became a broad Unix primitive; its adoption story is that of a tiny convenience command packaged for people who like shell workflows but occasionally want a clipboard-like file staging area. The README documents Homebrew, bpkg, and npm installation paths, pointing to cross-ecosystem packaging rather than a large upstream ecosystem.

### 使用方式

The user runs xcv c or xcv x with file arguments, then changes directories and runs xcv v to copy staged files into the current directory. xcv l lists staged files before pasting.

$HOME/.xcv is a transient staging directory used by the tool, not a user-authored config file. The implementation recreates it when a new cut or copy operation starts and clears it after paste.

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

xcv is interesting as a package because it is almost aggressively simple: a Bash wrapper that packages a file-manager metaphor for terminals. It is the kind of small CLI that package indexes preserve even when its whole behavior can be understood in one screen of shell.

### 时间线

- 2015-01-01: Initial commit and v1.0.0 tag.
- 2015-01-02: Early fixes for quoting, bpkg packaging, stderr output, and dotfile support.
- 2015-01-18: v1.0.1 tag.
- 2016-01-25: Homebrew installation added to the README.

### Related projects

- cp, mv, and ls: core commands that xcv wraps.
- bpkg and npm: alternative installation channels documented by the project.
- Shell aliases such as fsx, fsc, fsv, and fsl: README-suggested shortcuts for the four actions.

### 来源

- Git history and tags: https://github.com/busterc/xcv
- README, busterc/xcv: https://github.com/busterc/xcv#readme
- xcv script: https://github.com/busterc/xcv/blob/master/xcv


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## 来源

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