# Install magic-wormhole with Homebrew, chocolatey, apt, MacPorts, Nix, pacman, scoop, winget

Securely transfers data between computers. Version 0.24.0 via Homebrew; verified 2026-06-20.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install magic-wormhole
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install magic-wormhole
```

  Evidence: MacPorts ports tree: net/magic-wormhole/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install magic-wormhole
```

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

- Nix (92%):

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

  Evidence: nixpkgs package indexes: magic-wormhole from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S magic-wormhole
```

  Evidence: Arch Linux sync databases: magic-wormhole from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install magic-wormhole
```

  Evidence: Chocolatey community package catalog: magic-wormhole from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'

- Scoop (92%):

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

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

- winget (92%):

```sh
winget install --id magic-wormhole.magic-wormhole -e
```

  Evidence: Windows Package Manager source index: magic-wormhole.magic-wormhole from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:magic-wormhole
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/magic-wormhole>
- **Version:** 0.24.0
- **Source summary:** Securely transfers data between computers
- **Homepage:** <https://magic-wormhole.readthedocs.io/en/latest/>
- **Repository:** <https://github.com/magic-wormhole/magic-wormhole>
- **Upstream docs:** <https://magic-wormhole.readthedocs.io/>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/d7/8c/964308aeed7b828ca726da4bbfcc8f2bc89713b39ba768e24ce6331b30f3/magic_wormhole-0.24.0.tar.gz>
- **Last updated:** 2026-06-20T10:48:59Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- magic-wormhole (cli)
- wormhole (cli)
- magic-wormhole (alias)
- wormhole (alias)

## Dependencies

- cryptography
- libsodium
- python@3.14

## Build dependencies

- rust

## Uses from macOS

- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.24.0
- Package-manager updated: 2026-06-20
- Local data: ok
- Upstream repository: https://magic-wormhole.readthedocs.io/en/latest/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Magic Wormhole is a command-line tool and Python library for moving files, directories, text, and streams from one computer to another using short one-time codes. Its cultural niche is secure ad hoc transfer: the thing you reach for when the two humans can talk but the two computers have no prearranged account, URL, or SSH path.

### Project history

Brian Warner's Magic Wormhole repository was created in February 2015. The official documentation presents the project as both a `wormhole` CLI and a Python library, with a protocol built around a mailbox server, optional transit relay, and a PAKE exchange that turns a human-sized code into end-to-end encryption keys.

The project became well known after its PyCon 2016 presentation and early documentation emphasized a memorable UX: one side runs `wormhole send`, the other runs `wormhole receive`, and both type or paste the same short code. Over time the documentation expanded into protocol references for the mailbox server, client-to-client protocol, file-transfer protocol, Tor support, journaled mode, and dilation.

### Adoption history

Magic Wormhole moved from Python package to operating-system package quickly enough that the official installation docs recommend packaged versions first. They document Homebrew on macOS, Debian and Ubuntu packages, openSUSE packages, Chocolatey on Windows, and source installs through `pip`.

The project has broad package-manager presence in the supplied Homebrew input, including Homebrew, Chocolatey, Debian, MacPorts, Nix, pacman, Scoop, Ubuntu, and winget. Its GitHub repository also shows more than twenty thousand stars and hundreds of forks, a strong adoption signal for a small security-oriented CLI.

### How it is used

The standard file-transfer workflow is `wormhole send FILENAME` on one machine and `wormhole receive` on the other. The sender displays a short code, the receiver enters it, and the clients negotiate a direct or relayed encrypted transfer.

The library is used by other applications that need code-authenticated channels. Official docs point to protocol APIs and related applications, and the ecosystem page lists multiple implementations and clients.

### Why package nerds care

Magic Wormhole matters to package people because it is a tiny CLI with a big trust and bootstrap story. It avoids accounts, shared storage, long URLs, SSH setup, and manual key exchange, so it often appears in package collections as the pragmatic secure-transfer utility alongside rsync, scp, croc, and age-like tools.

It is also a protocol family, not just a Python command. The existence of Rust, GUI, mobile, relay, and mailbox-server packages gives package managers a small ecosystem to represent, which is why the original package remains the canonical anchor.

### Timeline

- 2015: Public GitHub repository created.
- 2016: PyCon presentation referenced by official docs.
- 2017: Official docs describe availability in Debian 9 and Ubuntu 17.04 or later.
- 2023: Official docs note several client implementations of the protocol.
- 2026: Repository remains active with many tags and current Python compatibility documentation.

### Related projects

- magic-wormhole.rs is the Rust implementation and CLI variant.
- magic-wormhole-mailbox-server and magic-wormhole-transit-relay provide the relay-side infrastructure.
- Fowl, Warp, Android Wormhole clients, and other ecosystem tools build on the protocol or interoperate with it.

### Sources

- <https://github.com/magic-wormhole/magic-wormhole>
- <https://github.com/magic-wormhole/magic-wormhole/tags>
- <https://magic-wormhole.readthedocs.io/en/latest/>
- <https://magic-wormhole.readthedocs.io/en/latest/welcome.html>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for magic-wormhole. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** magic-wormhole
- **Version Scheme:** 0
- **Revision:** 3
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - magic-wormhole - 0.18.0-1: normalized package name match | Debian stable package indexes: magic-wormhole from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Securely and simply transfer data between computers | https://github.com/warner/magic-wormhole
- Nix - magic-wormhole: normalized package name match | nixpkgs package indexes: magic-wormhole from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - magic-wormhole - 0.12.0-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: magic-wormhole from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Securely and simply transfer data between computers | https://github.com/warner/magic-wormhole
- pacman - magic-wormhole - 0.24.0-1: normalized package name match | Arch Linux sync databases: magic-wormhole from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Securely transfer data between computers | https://github.com/magic-wormhole/magic-wormhole
- MacPorts - magic-wormhole: normalized package name match | MacPorts ports tree: net/magic-wormhole/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - magic-wormhole: normalized package name match | Chocolatey community package catalog: magic-wormhole from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'
- Scoop - main/magic-wormhole: normalized package name match | Scoop official bucket manifest trees: bucket/magic-wormhole.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - magic-wormhole.magic-wormhole: normalized package name match | Windows Package Manager source index: magic-wormhole.magic-wormhole from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [airshare](https://www.automicvault.com/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, file-transfer, networking, python.
- [croc](https://www.automicvault.com/pkg/brew/croc/) - Shares av.db curated category or tags: cli, file-transfer, networking, secure-transfer.
- [gdown](https://www.automicvault.com/pkg/brew/gdown/) - Shares av.db curated category or tags: cli, file-transfer, networking, python.
- [magic-wormhole.rs](https://www.automicvault.com/pkg/brew/magic-wormhole-rs/) - Shares av.db curated category or tags: cli, file-transfer, networking, secure-transfer.
- [bbftp-client](https://www.automicvault.com/pkg/brew/bbftp-client/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [davix](https://www.automicvault.com/pkg/brew/davix/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [duck](https://www.automicvault.com/pkg/brew/duck/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [ffsend](https://www.automicvault.com/pkg/brew/ffsend/) - Shares av.db curated category or tags: cli, file-transfer, networking.
- [wormhole-william](https://www.automicvault.com/pkg/brew/wormhole-william/) - Local package facts share a topical domain. Shared terms: cli, file, file-transfer, magic, magic-wormhole.

## Combined YAML source

View the package source record on GitHub. [combined/magic-wormhole.yml](https://github.com/automic-vault/db/blob/main/combined/magic-wormhole.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
