# 使用 Homebrew, scoop, winget 安装 trzsz-go

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install trzsz-go
```

  证据: 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-go
- **软件包管理器:** Homebrew
- **版本:** 1.2.0
- **来源摘要:** Simple file transfer tools, similar to lrzsz (rz/sz), and compatible with tmux
- **主页:** <https://trzsz.github.io>
- **仓库:** <https://github.com/trzsz/trzsz-go>
- **最后更新:** 2026-07-26T00:51:28+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- trzsz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

trzsz-go is the Go implementation of the trzsz file-transfer tools. Official docs describe it as a CLI that gives terminals with local shell support native trzsz file-transfer integration and can also be embedded into Go terminal applications.

### 项目历史

The Go version emerged as part of the broader trzsz ecosystem, where the original trz/tsz idea was to offer rz/sz-like upload and download while remaining compatible with tmux. The Go implementation became the recommended server-side version in official docs, while trzsz-ssh is recommended on the local side.

### 采用历史

The project has stronger package-manager reach than the original Python package: official documentation lists apt, Debian repository setup, dnf, yum, AUR/yay, Homebrew, Chromebrew, Scoop, winget, choco, pixi, conda, mamba, Go install, source builds, and GitHub release downloads. GitHub shows around a thousand stars and multiple release assets per platform.

### 使用方式

Users install the Go binaries as trz, tsz, and trzsz. On servers it supplies the upload/download commands; on local machines it can wrap SSH through `trzsz ssh` so file-transfer escape sequences work in terminals that otherwise do not have built-in trzsz support.

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

trzsz-go matters in package-manager culture because it turns a terminal protocol utility into a cross-platform, statically built tool with broad distribution coverage. It is the version most packagers are likely to encounter for Homebrew, Scoop, winget, conda-forge-style, and Linux repository installs.

### 时间线

- 2026: v1.2.0 was released with Go 1.25, Windows improvements, drag-and-drop upload optimization, new packaging options, and tmux CC support changes.
- 2026: Official docs recommend the Go version of trzsz on the server and tssh on the local side.

### Related projects

- trzsz-go is compatible with the Python and JavaScript trzsz implementations.
- It is designed to work with trzsz-ssh, iTerm2 integration, web terminals, and terminal applications that embed Go support.

### 来源

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


## 安全说明

narrow executable package without higher-risk signals.

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


## 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: ~/.trzsz.conf
- Windows: C:\Users\your_name\.trzsz.conf
## 其他软件包管理器记录

- Scoop - main/trzsz: installed executable or alias 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: installed executable or alias 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-go.yml](https://github.com/mxcl/pkgdb/blob/main/combined/trzsz-go.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
