# 使用 Homebrew, apk, apt, Nix 安装 tty-share

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

## 安装

```sh
sudo av install brew:tty-share
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tty-share
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tty-share
```

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

- Debian apt (92%):

```sh
sudo apt install tty-share
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#tty-share
```

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

## 软件包事实

- **软件包键:** brew:tty-share
- **软件包管理器:** Homebrew
- **版本:** 2.4.1
- **来源摘要:** Terminal sharing over the Internet
- **主页:** <https://tty-share.com/>
- **仓库:** <https://github.com/elisescu/tty-share>
- **最后更新:** 2026-07-26T03:12:23+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tty-share (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tty-share is a Go terminal-sharing tool for exposing a Linux or macOS terminal session to another person over the Internet, with the remote participant joining from a browser or another terminal.

Its niche is low-friction remote terminal collaboration: one static binary on the host side, browser access on the guest side, and an optional public proxy or self-hosted proxy path.

### 项目历史

The official README describes tty-share as a simple tool written in Go that builds to a static cross-platform binary with no dependencies and can run even on Raspberry Pi. It connects through a proxy server for public Internet sessions, with an instance running at tty-share.com and the option to run one's own server.

The project positions itself against heavier collaboration tools. Its README credits xterm.js for browser terminal rendering, gotty and tmate as inspiration, and discusses Visual Studio Code Live Share and tmate as similar solutions with different setup and dependency tradeoffs.

### 采用历史

The README documents Docker, Homebrew, binary releases, and Repology as install/distribution paths. The supplied package facts add Homebrew, Alpine, Debian, Ubuntu, and Nix, showing adoption as a small networking/collaboration command rather than a platform-specific app.

The project website markets the same adoption story in simpler terms: share a terminal with no tool on the remote side, source code on GitHub, one binary locally, and encrypted communication.

### 使用方式

A host can run `tty-share --public` to create a public session URL plus a local URL, then share the URL with a participant. Participants can join in a browser or by running `tty-share <secret URL>`.

The README also documents read-only sessions, local-network sharing, public proxy sharing, running a custom proxy, Docker trial usage, and SSH-like TCP port forwarding with `-L`.

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

tty-share is interesting to package maintainers because it compresses a collaboration workflow into one Go binary, avoiding browser extensions, editor accounts, or a full SSH/tmate setup for the guest.

It also represents a common CLI packaging pattern of the late 2010s and 2020s: static Go network tools that package cleanly, run on small ARM machines, and expose a web UI through embedded assets.

### 时间线

- 2022: Project website copyright line identifies the public tty-share site era.
- Undated: README documents Homebrew, Docker, binary releases, public proxy sessions, and self-hosted proxy support.
- 2025: GitHub repository page lists v2.4.1 as the latest release on January 12, 2025.

### Related projects

- xterm.js is used for the browser receiver.
- gotty and tmate are credited as inspiration and motivation.
- Visual Studio Code Live Share and tmate are discussed as comparable collaboration approaches.

### 来源

- <https://github.com/elisescu/tty-share#readme>
- <https://tty-share.com/>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - tty-share - 2.4.0+ds-2+b12: normalized package name match | Debian stable package indexes: tty-share from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Terminal sharing over the Internet | https://tty-share.com
- Nix - tty-share: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/tty-share/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tty-share - 2.4.0+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: tty-share from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Terminal sharing over the Internet | https://tty-share.com
- apk - tty-share - 2.4.0-r29: normalized package name match | Alpine Linux edge package indexes: tty-share from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Share your terminal over the Internet | https://tty-share.com/


## Combined YAML source

View the package source record on GitHub. [combined/tty-share.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tty-share.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
