# 使用 Homebrew, apk, Nix, scoop, zypper, apt 安装 magic-wormhole.rs

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

## 安装

```sh
sudo av install brew:magic-wormhole.rs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install magic-wormhole.rs
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add magic-wormhole-rs
```

  证据: Alpine Linux edge package indexes: magic-wormhole-rs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#magic-wormhole-rs
```

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

- zypper (92%):

```sh
sudo zypper install magic-wormhole.rs
```

  证据: openSUSE Tumbleweed package metadata: magic-wormhole.rs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install wormhole-rs
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/magic-wormhole-rs
```

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

## 软件包事实

- **软件包键:** brew:magic-wormhole.rs
- **软件包管理器:** Homebrew
- **版本:** 0.8.1
- **来源摘要:** Rust implementation of Magic Wormhole, with new features and enhancements
- **主页:** <https://github.com/magic-wormhole/magic-wormhole.rs>
- **仓库:** <https://github.com/magic-wormhole/magic-wormhole.rs>
- **最后更新:** 2026-05-07T05:00:53Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wormhole-rs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

magic-wormhole.rs, also known as Rusty Wormhole, is a Rust implementation of the Magic Wormhole file-transfer protocol. It provides a `wormhole-rs` CLI and a Rust library for the same code-authenticated transfer model as the original Python project.

### 项目历史

The repository was created in March 2018 under the magic-wormhole GitHub organization. Its README identifies it as a Rust port of the Python implementation, while also documenting Rust-specific additions such as direct connections across NATs and firewalls, clipboard copying, experimental port forwarding, multi-recipient sending, and fuzzy code completion.

By 2022 the project was publishing 0.x GitHub releases, and its latest releases show continued maintenance of both CLI and library APIs. The codebase is almost entirely Rust and exposes hosted API documentation through docs.rs.

### 采用历史

Adoption is smaller than the original Python tool but meaningful in the Rust and desktop-file-transfer ecosystem. The official README lists applications using the Rust library, including GNOME Warp, an Android client, Wyrmhole, and rvIRC.

The package appears in multiple package managers in the supplied Homebrew input, including Homebrew, Debian as `wormhole-rs`, Nix, Scoop, apk, and zypper. That spread reflects its role as the Rust CLI variant for users who prefer a static-ish native toolchain or Rust library integration.

### 使用方式

End users use `wormhole-rs` for Magic Wormhole-style file transfer. Developers use the `magic-wormhole` Rust crate when they want to embed the protocol in GUI clients, mobile clients, port-forwarding tools, or other Rust applications.

The README positions the CLI under `./cli` and points library users to Rust documentation, while also linking back to the Magic Wormhole protocol specification.

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

For package maintainers, magic-wormhole.rs is the native Rust counterpart to a well-known Python network utility. That matters in environments where dependency closure, startup time, or embedding a library into a Rust application is preferable to shipping Python and Twisted dependencies.

It is also useful as a compatibility story: the package keeps the Magic Wormhole user experience while extending it with features that appeal to command-line and desktop client builders.

### 时间线

- 2018: Public GitHub repository created.
- 2022: 0.3.0 and subsequent 0.x releases published.
- 2023: 0.6.x releases published.
- 2026: 0.8.x releases published with API and security maintenance.

### Related projects

- The original Python Magic Wormhole implementation is the upstream protocol and user-experience reference.
- GNOME Warp, Wormhole File Transfer, Wyrmhole, and rvIRC are listed by the project as applications using the Rust library.

### 来源

- <https://docs.rs/magic-wormhole/latest/magic_wormhole/>
- <https://github.com/magic-wormhole/magic-wormhole.rs>
- <https://github.com/magic-wormhole/magic-wormhole.rs/releases>
- <https://magic-wormhole.readthedocs.io/en/latest/>
- source_facts.package-manager
- source_facts.repo


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - magic-wormhole-rs: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/magic-wormhole-rs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - magic-wormhole-rs - 0.8.1-r0: normalized package name match | Alpine Linux edge package indexes: magic-wormhole-rs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Rust implementation of Magic Wormhole, with new features and enhancements | https://github.com/magic-wormhole/magic-wormhole.rs
- apk - magic-wormhole-rs-bash-completion - 0.8.1-r0: normalized package name match | Alpine Linux edge package indexes: magic-wormhole-rs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for magic-wormhole-rs | https://github.com/magic-wormhole/magic-wormhole.rs
- apk - magic-wormhole-rs-fish-completion - 0.8.1-r0: normalized package name match | Alpine Linux edge package indexes: magic-wormhole-rs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for magic-wormhole-rs | https://github.com/magic-wormhole/magic-wormhole.rs
- apk - magic-wormhole-rs-zsh-completion - 0.8.1-r0: normalized package name match | Alpine Linux edge package indexes: magic-wormhole-rs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for magic-wormhole-rs | https://github.com/magic-wormhole/magic-wormhole.rs
- zypper - magic-wormhole.rs - 0.8.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: magic-wormhole.rs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Rust implementation of Magic Wormhole | https://github.com/magic-wormhole/magic-wormhole.rs
- zypper - magic-wormhole.rs-bash-completion - 0.8.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: magic-wormhole.rs-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for magic-wormhole.rs | https://github.com/magic-wormhole/magic-wormhole.rs
- zypper - magic-wormhole.rs-fish-completion - 0.8.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: magic-wormhole.rs-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for magic-wormhole.rs | https://github.com/magic-wormhole/magic-wormhole.rs
- zypper - magic-wormhole.rs-zsh-completion - 0.8.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: magic-wormhole.rs-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for magic-wormhole.rs | https://github.com/magic-wormhole/magic-wormhole.rs
- Scoop - main/magic-wormhole-rs: normalized package name match | Scoop official bucket manifest trees: bucket/magic-wormhole-rs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Debian apt - wormhole-rs - 0.7.6-1: installed executable or alias match | Debian stable package indexes: wormhole-rs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Send files from one computer to another, securely | http://magic-wormhole.io/


## Combined YAML source

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