# 使用 Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, zypper, scoop, winget 安装 i2pd

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

## 安装

```sh
sudo av install brew:i2pd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install i2pd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install i2pd
```

  证据: MacPorts ports tree: security/i2pd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add i2pd
```

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

- Debian apt (92%):

```sh
sudo apt install i2pd
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#i2pd
```

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

- pacman (92%):

```sh
sudo pacman -S i2pd
```

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

- zypper (92%):

```sh
sudo zypper install i2pd
```

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

### Windows

- Chocolatey (92%):

```sh
choco install i2pd
```

  证据: Chocolatey community package catalog: i2pd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','handbrake.install'

- Scoop (92%):

```sh
scoop install extras/i2pd
```

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

- winget (92%):

```sh
winget install --id PurpleI2P.i2pd -e
```

  证据: Windows Package Manager source index: PurpleI2P.i2pd from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:i2pd
- **软件包管理器:** Homebrew
- **版本:** 2.61.0
- **来源摘要:** Full-featured C++ implementation of I2P client
- **主页:** <https://i2pd.website/>
- **仓库:** <https://github.com/PurpleI2P/i2pd>
- **最后更新:** 2026-08-02T17:49:38-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- i2pd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

i2pd is the PurpleI2P C++ implementation of an I2P client and daemon. It targets the same anonymous I2P network as the Java reference implementation but emphasizes a small footprint, simple dependencies, fast performance, and daemon-style deployment.

### 项目历史

The PurpleI2P/i2pd repository was created in 2013 and describes i2pd as a full-featured C++ implementation of an I2P client. Its README frames I2P as a universal anonymous network layer for peer-to-peer and client-server applications, with anonymous and end-to-end encrypted communication.

i2pd developed its own packaging ecosystem around the daemon: command-line operation, config and tunnel files, precompiled release artifacts, Docker images, Snap, mobile and GUI-adjacent repositories, and documentation on Read the Docs.

The project uses the openssl branch as its default branch and releases frequent numbered versions. Homebrew packages the daemon with Boost, miniupnpc, and OpenSSL dependencies and defines a service invocation that points to Homebrew-managed config, tunnel, log, pid, and data paths.

### 采用历史

i2pd is widely packaged across Linux distributions and other package managers, including Homebrew, Alpine, Debian, Arch, openSUSE, Nix, Chocolatey, Scoop, winget, and MacPorts. That breadth reflects demand for a lightweight I2P router that fits daemon, container, and service-management workflows.

Its GitHub stars, forks, Docker image, and packaged binaries show adoption beyond the Java reference implementation, especially among users who want a C++ daemon for servers, appliances, or lower-resource hosts.

### 使用方式

Users run i2pd as a daemon to participate in the I2P network and expose local tunnels or APIs for applications. The documentation covers installation, running, configuration, tunnel definitions, family configuration, APIs, and build instructions for Unix, Windows, Android, iOS, and GUI variants.

Common package-manager usage centers on service management and config files: install the package, edit i2pd.conf and tunnels.conf, then run the daemon under the system's service manager.

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

i2pd is package-nerd significant because it turns a privacy overlay router into a conventional service package. It has the delightful packaging surface area of real daemons: config directories, data directories, logs, pid files, service definitions, crypto/network dependencies, and platform-specific binaries.

It also illustrates a healthy alternate-implementation ecosystem: the Java I2P reference implementation remains central, while i2pd gives distributions and users a different runtime tradeoff.

### 时间线

- 2013: The PurpleI2P/i2pd repository was created.
- 2013: The tag v0.3.0-1stbinrelease marked an early binary-release milestone.
- 2025: The 2.56.0 release notes listed SSU2, NTCP2, address-book, tunnel, and peer-test changes.
- 2026: The 2.60.0 release series shipped with many platform-specific release artifacts.

### Related projects

- Related projects include the Java I2P implementation, I2P specifications, i2pd-android, i2pd-qt, gui-i2pd, PurpleI2P documentation repositories, and other anonymous-network software such as Tor and Freenet.

### 来源

- <https://formulae.brew.sh/formula/i2pd>
- <https://github.com/PurpleI2P/i2pd>
- <https://i2pd.readthedocs.io/>
- <https://i2pd.readthedocs.io/user-guide/configuration/>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.i2pd/i2pd.conf, /var/lib/i2pd/i2pd.conf, ~/.i2pd/tunnels.conf, /var/lib/i2pd/tunnels.conf, ~/.i2pd/tunnels.d, /var/lib/i2pd/tunnels.d
## 其他软件包管理器记录

- Debian apt - i2pd - 2.56.0-1: normalized package name match | Debian stable package indexes: i2pd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Full-featured C++ implementation of I2P client | https://i2pd.website
- Nix - i2pd: normalized package name match | nixpkgs package indexes: pkgs/by-name/i2/i2pd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - i2pd - 2.49.0-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: i2pd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Full-featured C++ implementation of I2P client | https://i2pd.website
- apk - i2pd - 2.60.0-r1: normalized package name match | Alpine Linux edge package indexes: i2pd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | I2P Router written in C++ | https://i2pd.website
- apk - i2pd-dbg - 2.60.0-r1: normalized package name match | Alpine Linux edge package indexes: i2pd-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | I2P Router written in C++ (debug symbols) | https://i2pd.website
- apk - i2pd-openrc - 2.60.0-r1: normalized package name match | Alpine Linux edge package indexes: i2pd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | I2P Router written in C++ (OpenRC init scripts) | https://i2pd.website
- pacman - i2pd - 2.61.0-1: normalized package name match | Arch Linux sync databases: i2pd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A full-featured C++ implementation of the I2P router | https://i2pd.website/
- zypper - i2pd - 2.58.0-1.8: normalized package name match | openSUSE Tumbleweed package metadata: i2pd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C++ implementation of an I2P client | https://i2pd.website
- MacPorts - i2pd: normalized package name match | MacPorts ports tree: security/i2pd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - i2pd: normalized package name match | Chocolatey community package catalog: i2pd from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','handbrake.install'
- Scoop - extras/i2pd: normalized package name match | Scoop official bucket manifest trees: bucket/i2pd.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - PurpleI2P.i2pd: normalized package name match | Windows Package Manager source index: PurpleI2P.i2pd from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/i2pd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/i2pd.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
