# 使用 Homebrew, scoop, winget 安装 trzsz

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

## 安装

```sh
sudo av install brew:trzsz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install trzsz
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/trzsz
```

  证据: Scoop official bucket manifest trees: bucket/trzsz.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id trzsz.trzsz -e
```

  证据: Windows Package Manager source index: trzsz.trzsz from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:trzsz
- **软件包管理器:** Homebrew
- **版本:** 1.1.5
- **来源摘要:** Simple file transfer tools, similar to lrzsz (rz/sz), and compatible with tmux
- **主页:** <https://trzsz.github.io>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- trz (别名)
- trzsz-iterm2 (别名)
- tsz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

trzsz is a family of terminal file-transfer tools centered on trz for upload and tsz for download. Its official README describes it as similar to lrzsz/rz/sz but compatible with tmux, with support for directories, resume, progress display, Windows servers, native terminal wrappers, web terminals, and drag-and-drop upload.

### 项目历史

The project was created to solve a specific terminal workflow gap: rz/sz-style transfer is convenient through nested SSH, jump hosts, containers, and remote shells, but lrzsz is not compatible with tmux. The README states that tmux was not going to support rz/sz, so trzsz was developed as a tmux-compatible alternative.

### 采用历史

The ecosystem expanded from the original Python package into Go, JavaScript, iTerm2, web-terminal, and SSH-client integrations. Official documentation now presents trzsz, tssh, and tsshd together as modern SSH file-transfer and remote-terminal tools, and the README lists supported terminals including tssh, iTerm2, Tabby, electerm, ttyd, trzsz-go, and trzsz.js.

### 使用方式

The core workflow is server-side installation plus local support. Users run `trz` to receive uploads on the remote side and `tsz` to send downloads, much like rz and sz. The tool is especially useful when scp or sftp become awkward through chains such as laptop to jump host to another host to Docker to tmux.

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

trzsz is significant to package nerds because it revives the classic rz/sz workflow for modern terminal stacks and splits that functionality across multiple packages and languages. Homebrew carries both the original `trzsz` package and the Go-oriented `trzsz-go`, while the wider ecosystem also includes tssh for local support and JavaScript bindings for web terminals.

### 时间线

- 2022: Early release notes show binary mode, interrupt handling, a production release, and directory-transfer support becoming part of the original Python package line.
- 2023: v1.1.1 added iTerm2 drag-and-drop uploads and Windows/speed optimizations.
- 2024: v1.1.5 synchronized features from the Go version.
- 2026: The official site presents trzsz together with tssh and tsshd as a modern SSH file-transfer and remote-terminal toolkit.

### Related projects

- trzsz-go is the Go implementation and is recommended by official docs for server-side use.
- trzsz-ssh/tssh is the recommended local SSH client for trzsz transfers.
- trzsz.js provides webshell and Electron-terminal integration, while the iTerm2 integration handles native macOS terminal workflows.

### 来源

- <https://github.com/trzsz/trzsz#readme>
- <https://github.com/trzsz/trzsz-go#readme>
- <https://github.com/trzsz/trzsz-ssh#readme>
- <https://github.com/trzsz/trzsz/releases>
- <https://trzsz.github.io/>
- source_facts.description
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Scoop - main/trzsz: normalized package name match | Scoop official bucket manifest trees: bucket/trzsz.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - trzsz.trzsz: normalized package name match | Windows Package Manager source index: trzsz.trzsz from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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