# 使用 Homebrew, apk, Nix, pacman 安装 upterm

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

## 安装

```sh
sudo av install brew:upterm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install upterm
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add upterm
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#upterm
```

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

- pacman (92%):

```sh
sudo pacman -S upterm
```

  证据: Arch Linux sync databases: upterm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:upterm
- **软件包管理器:** Homebrew
- **版本:** 0.24.0
- **来源摘要:** Instant terminal sharing
- **主页:** <https://upterm.dev>
- **仓库:** <https://github.com/owenthereal/upterm>
- **最后更新:** 2026-07-25T21:47:59+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- upterm (别名)
- uptermd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Upterm is an open-source terminal-sharing tool built around SSH-style access to hosted terminal sessions. It is used for remote pair programming, accessing machines behind NATs or firewalls, debugging, and giving collaborators controlled terminal access.

### 项目历史

The GitHub repository was created in October 2019. Early releases in January 2020 established the command-line binary and release packaging; subsequent 2020 releases added WebSocket support, Heroku deployment notes for uptermd, host/server public-key validation, join and leave notifications, and an upgrade command.

The project continued as a maintained Go application with both client and server pieces. Its README documents upterm for interactive terminal hosting, uptermd as the server side, self-hosted or public relay use, access-control integrations, WebSocket transport, tmux-style force commands, and integrations such as action-upterm for GitHub Actions debugging.

Recent release metadata shows continued development through 2026, including SFTP/SCP file transfer, local TCP forwarding, Windows support, IPv6-related work, Prometheus metrics, and GitHub Actions workflow improvements.

### 采用历史

Upterm's official README documents installation via a Homebrew cask, Scoop on Windows, standalone release binaries, and source builds. It also includes migration notes for users who previously installed the old Homebrew formula, which shows the project crossing from a formula-style CLI package to a cask-distributed application package on macOS.

The supplied input lists Upterm in Homebrew, Alpine, Nix, and Arch package ecosystems, while GitHub repository metadata showed 1,245 stars and 80 forks when checked on July 2, 2026. Its adoption is concentrated among developers who need temporary remote access to terminal sessions rather than permanent SSH server administration.

### 使用方式

A host starts a session with upterm host, retrieves a connection string with upterm session current, and clients connect with ssh to the uptermd endpoint. The README also documents hosting arbitrary commands, authorizing public keys or users from GitHub, GitLab, SourceHut, and Codeberg, forcing tmux attach behavior for pair programming, transferring files with scp or sftp, and using WebSocket proxying when normal SSH transport is restricted.

In CI workflows, Upterm can be paired with action-upterm so a developer can SSH into a GitHub Actions runner for live debugging. That use makes it especially familiar to package maintainers dealing with failing builds that reproduce only in hosted CI images.

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

Upterm matters in package-manager culture because it turns otherwise opaque remote machines, CI runners, and NATed development boxes into temporary inspectable shells without requiring long-lived SSH accounts. For maintainers, that is useful when debugging build recipes, platform-specific failures, or user environments where sending a reproducible transcript is not enough.

### 时间线

- 2019: GitHub repository created.
- 2020: Early releases published under the jingweno/upterm release name.
- 2020: WebSocket transport, Heroku uptermd deployment, and host/server validation appeared in release notes.
- 2025: Release notes added Windows support.
- 2026: Release notes added SFTP/SCP transfer and continued session workflow improvements.

### Related projects

- The README explicitly compares a force-command tmux workflow to tmate. It also links action-upterm for GitHub Actions debugging and documents uptermd as the server component used by the client.

### 来源

- <https://api.github.com/repos/owenthereal/upterm>
- <https://api.github.com/repos/owenthereal/upterm/releases>
- <https://github.com/owenthereal/upterm>
- <https://raw.githubusercontent.com/owenthereal/upterm/master/README.md>
- <https://upterm.dev/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - upterm: normalized package name match | nixpkgs package indexes: pkgs/by-name/up/upterm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - upterm - 0.22.0-r5: normalized package name match | Alpine Linux edge package indexes: upterm from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Secure terminal sharing | https://upterm.dev/
- apk - upterm-bash-completion - 0.22.0-r5: normalized package name match | Alpine Linux edge package indexes: upterm-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for upterm | https://upterm.dev/
- apk - upterm-doc - 0.22.0-r5: normalized package name match | Alpine Linux edge package indexes: upterm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Secure terminal sharing (documentation) | https://upterm.dev/
- apk - upterm-server - 0.22.0-r5: normalized package name match | Alpine Linux edge package indexes: upterm-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Secure terminal sharing (server) | https://upterm.dev/
- apk - upterm-server-openrc - 0.22.0-r5: normalized package name match | Alpine Linux edge package indexes: upterm-server-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Secure terminal sharing (OpenRC init scripts) | https://upterm.dev/
- apk - upterm-zsh-completion - 0.22.0-r5: normalized package name match | Alpine Linux edge package indexes: upterm-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for upterm | https://upterm.dev/
- pacman - upterm - 0.24.0-1: normalized package name match | Arch Linux sync databases: upterm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Secure Terminal Sharing, an alternative to tmate | https://github.com/owenthereal/upterm


## Combined YAML source

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