# Install onioncat with Homebrew, apk, MacPorts, zypper, scoop, winget

VPN-adapter that provides location privacy using Tor or I2P. Version 4.11.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:onioncat
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install onioncat
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install onioncat
```

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

### Linux

- apk (92%):

```sh
sudo apk add onioncat
```

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

- zypper (92%):

```sh
sudo zypper install onioncat
```

  Evidence: openSUSE Tumbleweed package metadata: onioncat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/ocat
```

  Evidence: Scoop official bucket manifest trees: bucket/ocat.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ic005k.OCAuxiliaryTools -e
```

  Evidence: Windows Package Manager source index: ic005k.OCAuxiliaryTools from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:onioncat
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/onioncat>
- **Version:** 4.11.0
- **Source summary:** VPN-adapter that provides location privacy using Tor or I2P
- **Homepage:** <https://github.com/rahra/onioncat>
- **Repository:** <https://github.com/rahra/onioncat>
- **Upstream docs:** <https://github.com/rahra/onioncat#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/rahra/onioncat/archive/refs/tags/v4.11.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ocat (cli)
- ocat (alias)

## Dependencies

- tor

## Build dependencies

- autoconf
- automake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.11.0
- Local data: ok
- Upstream repository: https://github.com/rahra/onioncat
- Upstream latest detected: v4.11.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

OnionCat is a long-running networking experiment that maps Tor hidden services or I2P tunnels into an IPv6 TUN interface. It makes onion/I2P endpoints look like peers on an IP network, so ordinary IP-based protocols can travel over Tor or I2P hidden-service transports.

### Project history

OnionCat development began in 2008, when Tor hidden-service v2 identifiers were short enough to be reversibly mapped into IPv6 addresses under a special prefix. Its own documentation describes the core trick as translating between OnionCat IPv6 addresses and .onion hostnames, then forwarding packets between a local TUN device and remote OnionCat peers.

The move from Tor v2 hidden services to v3 onion services challenged OnionCat's original design because v3 identifiers no longer fit inside an IPv6 address. OnionCat4 added lookup machinery to preserve the virtual-network model after the identifier-size change.

### Adoption history

OnionCat has been packaged beyond a single ecosystem: Debian documented an ocat(1) man page by the Jessie era, and Homebrew packages onioncat for macOS and Linux users. Its GitHub repository is the official upstream and had an onioncat-4.11.0 release dated March 9, 2023.

### How it is used

Users run ocat with a local onion or I2P identifier, and OnionCat opens a TUN device, assigns it a derived IPv6 address, and relays packets through Tor or I2P. The tool can carry TCP, UDP, and other IP-based traffic, making it resemble a peer-to-peer VPN between hidden services rather than a web-only Tor client.

The README also exposes OnionCat's operational rough edges: it is a userland connector, depends on Tor/I2P setup, and does not add its own encryption on top of the transport. That makes it a tool for operators who understand the underlying anonymity network rather than a general-purpose consumer VPN.

### Why package nerds care

OnionCat matters because it is one of the more literal attempts to package 'IP over onion services' as a Unix-style command. It combines old-school TUN-device networking, IPv6 address mapping, Tor/I2P naming, and distro packaging into a compact but unusual formula.

### Timeline

- 2008: OnionCat development began around Tor hidden-service v2 identifiers.
- 2015: Debian Jessie shipped an onioncat man page documenting ocat as an IP-transparent Tor/I2P connector.
- 2023-03-09: onioncat-4.11.0 was published as a GitHub release.
- 2023-10-25: the upstream README/man-page text identified ocat and documented OnionCat4 behavior.

### Related projects

- Related projects and technologies include Tor onion services, I2P server tunnels, TUN/TAP virtual network interfaces, and VPN-style tunneling tools.

### Sources

- <https://formulae.brew.sh/formula/onioncat>
- <https://github.com/rahra/onioncat>
- <https://github.com/rahra/onioncat/blob/master/doc/INTRO_TO_ONIONCAT4.txt>
- <https://manpages.debian.org/jessie/onioncat/ocat.1>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** onioncat
- **Version Scheme:** 0
- **Revision:** 0
- **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

- apk - onioncat - 4.11.0-r1: normalized package name match | Alpine Linux edge package indexes: onioncat from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OnionCat is a VPN-adapter, which uses Tor or I2P as its transport. | https://www.onioncat.org/
- apk - onioncat-doc - 4.11.0-r1: normalized package name match | Alpine Linux edge package indexes: onioncat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OnionCat is a VPN-adapter, which uses Tor or I2P as its transport. (documentation) | https://www.onioncat.org/
- zypper - onioncat - 4.11.0-1.10: normalized package name match | openSUSE Tumbleweed package metadata: onioncat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | VPN adapter for Tor and I2P | https://www.onioncat.org/
- MacPorts - onioncat: normalized package name match | MacPorts ports tree: net/onioncat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/ocat: installed executable or alias match | Scoop official bucket manifest trees: bucket/ocat.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - ic005k.OCAuxiliaryTools: installed executable or alias match | Windows Package Manager source index: ic005k.OCAuxiliaryTools from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [tor](https://www.automicvault.com/pkg/brew/tor/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [dsvpn](https://www.automicvault.com/pkg/brew/dsvpn/) - Shares av.db curated category or tags: cli, networking, tunneling, vpn.
- [fastd](https://www.automicvault.com/pkg/brew/fastd/) - Shares av.db curated category or tags: cli, networking, tunneling, vpn.
- [i2pd](https://www.automicvault.com/pkg/brew/i2pd/) - Shares av.db curated category or tags: cli, i2p, networking, privacy.
- [meek](https://www.automicvault.com/pkg/brew/meek/) - Shares av.db curated category or tags: cli, networking, privacy, tor.
- [obfs4proxy](https://www.automicvault.com/pkg/brew/obfs4proxy/) - Shares av.db curated category or tags: cli, networking, privacy, tor.
- [openvpn](https://www.automicvault.com/pkg/brew/openvpn/) - Shares av.db curated category or tags: cli, networking, tunneling, vpn.
- [sshuttle](https://www.automicvault.com/pkg/brew/sshuttle/) - Shares av.db curated category or tags: cli, networking, tunneling, vpn.
- [tinc](https://www.automicvault.com/pkg/brew/tinc/) - Shares av.db curated category or tags: cli, networking, tunneling, vpn.

## Combined YAML source

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