# 使用 Homebrew, apk, Nix, pacman, zypper, scoop, MacPorts 安装 kubo

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

## 安装

```sh
sudo av install brew:kubo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kubo
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ipfs
```

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

### Linux

- apk (92%):

```sh
sudo apk add kubo
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#kubo
```

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

- pacman (92%):

```sh
sudo pacman -S kubo
```

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

- zypper (92%):

```sh
sudo zypper install kubo
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/kubo
```

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

## 软件包事实

- **软件包键:** brew:kubo
- **软件包管理器:** Homebrew
- **版本:** 0.42.0
- **来源摘要:** Peer-to-peer hypermedia protocol
- **主页:** <https://docs.ipfs.tech/how-to/command-line-quick-start/>
- **仓库:** <https://github.com/ipfs/kubo>
- **最后更新:** 2026-07-27T21:58:48+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ipfs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Kubo is the Go implementation of IPFS and the command-line `ipfs` daemon most associated with running an IPFS node. The project was originally known as go-ipfs and was renamed Kubo in 2022.

### 项目历史

Kubo originated as the first implementation of IPFS, the content-addressed, peer-to-peer hypermedia protocol. The repository describes Kubo as an opinionated implementation that prioritizes interoperability through CIDs, DAGs, UnixFS, HTTP gateways, Bitswap, and verifiable retrieval over HTTP.

The 2022 rename from Go-IPFS to Kubo was part of a broader IPFS ecosystem cleanup: IPFS stewards wanted the name IPFS to refer to protocols and conventions rather than to a single Go implementation. Kubo v0.14.0 changed the published artifact name, Docker image name, and libp2p user agent while dual-publishing old names to reduce breakage.

### 采用历史

Kubo became the standard CLI path for users who wanted more granular control than IPFS Desktop. Official docs describe it as the first and most widely used IPFS implementation, and its packaging spans direct distribution from dist.ipfs.tech, Docker images, Homebrew, Linux distributions, Nix, Scoop, and other package managers.

Because Kubo exposes both a daemon and CLI, it also became infrastructure for applications that need local IPFS storage, pinning, gateways, RPC control, and DHT participation. Its release process documentation describes a regular release cadence with staged testing across unit, interop, integration, IPFS apps, production environments, and community testers.

### 使用方式

Users typically initialize a repository with `ipfs init`, start a node with `ipfs daemon`, add content with `ipfs add`, retrieve content with `ipfs cat`, and manage node behavior through the Kubo CLI or HTTP RPC API. Configuration and identity material live in the IPFS repository, commonly `$IPFS_PATH`, with the config file used for networking, datastore, gateway, API, and identity settings.

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

Kubo is package-nerd significant because it is both a user CLI and a network node implementation for a protocol stack. Package managers are not merely distributing a helper binary; they are distributing a long-running peer-to-peer daemon with repository migrations, DHT behavior, gateway semantics, RPC compatibility, and a compatibility story that survived the go-ipfs-to-kubo rename.

### 时间线

- 2015: IPFS's first implementation emerged as the Go implementation later known as go-ipfs.
- 2022: Kubo v0.14.0 renamed Go-IPFS to Kubo and dual-published old and new artifact names.
- 2025: Kubo v0.39 stopped publishing the deprecated go-ipfs name as a normal release artifact.
- 2020s: The project documents a regular release process with staged testing and QA across IPFS apps and production environments.

### Related projects

- Kubo is related to the IPFS protocol specifications, libp2p, UnixFS, Bitswap, IPFS Desktop, IPFS WebUI, Helia, HTTP gateways, delegated routing, and the wider multiformats ecosystem.

### 来源

- <https://docs.ipfs.tech/install/command-line/>
- <https://docs.ipfs.tech/reference/kubo/cli/>
- <https://github.com/ipfs/kubo>
- <https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.14.md>
- <https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.39.md>
- <https://github.com/ipfs/kubo/blob/master/docs/releases.md>


## 安全说明

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: $IPFS_PATH/config

## Credential files

- Unix: $IPFS_PATH/config
## 其他软件包管理器记录

- Nix - kubo: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - kubo - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Inter Platnetary File System (IPFS), a peer-to-peer hypermedia distribution protocol | https://ipfs.tech/
- apk - kubo-bash-completion - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for kubo | https://ipfs.tech/
- apk - kubo-doc - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Inter Platnetary File System (IPFS), a peer-to-peer hypermedia distribution protocol (documentation) | https://ipfs.tech/
- apk - kubo-fish-completion - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for kubo | https://ipfs.tech/
- apk - kubo-migration - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo-migration from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Inter Platnetary File System (IPFS), a peer-to-peer hypermedia distribution protocol (15 to 16 migration) | https://ipfs.tech/
- apk - kubo-openrc - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Inter Platnetary File System (IPFS), a peer-to-peer hypermedia distribution protocol (OpenRC init scripts) | https://ipfs.tech/
- apk - kubo-zsh-completion - 0.42.0-r1: normalized package name match | Alpine Linux edge package indexes: kubo-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for kubo | https://ipfs.tech/
- pacman - kubo - 0.42.0-1: normalized package name match | Arch Linux sync databases: kubo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | IPFS implementation in Go | https://github.com/ipfs/kubo
- zypper - kubo - 0.40.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kubo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | IPFS implementation in Go | https://github.com/ipfs/kubo
- Scoop - main/kubo: normalized package name match | Scoop official bucket manifest trees: bucket/kubo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- MacPorts - ipfs: installed executable or alias match | MacPorts ports tree: net/ipfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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