# 使用 Homebrew, apk, Nix, zypper, scoop 安装 kopia

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

## 安装

```sh
sudo av install brew:kopia
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kopia
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add kopia
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#kopia
```

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

- zypper (92%):

```sh
sudo zypper install kopia
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/kopia
```

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

## 软件包事实

- **软件包键:** brew:kopia
- **软件包管理器:** Homebrew
- **版本:** 0.23.1
- **来源摘要:** Fast and secure open-source backup
- **主页:** <https://kopia.io>
- **仓库:** <https://github.com/kopia/kopia>
- **最后更新:** 2026-07-27T21:58:40+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kopia (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Kopia is a cross-platform open-source backup and restore tool built around encrypted, deduplicated, compressed snapshots. Its package-manager significance comes from being a modern Go backup system with both CLI and GUI workflows, installable as a single user-facing tool on macOS, Linux, and Windows.

### 项目历史

The GitHub repository was created on 2015-12-19, while the public release stream visible in GitHub releases begins with v0.3.0 prereleases in 2019. The project settled into the same problem space as restic and BorgBackup: content-addressed, encrypted snapshot backups that can target local storage, NAS, and cloud object stores.

Kopia's documentation and README emphasize user-controlled end-to-end encryption, compression, deduplication, and support for storage backends such as S3-compatible stores, Azure Blob Storage, Backblaze B2, Google Cloud Storage, WebDAV, SFTP, Rclone-backed locations, local disks, and Kopia's own repository server.

### 采用历史

Kopia grew into a recognizable package-manager backup tool because it combined repository-format features package users expect from backup software with a straightforward CLI binary. Homebrew, Scoop, Nix, APK, and zypper packaging in the input data show adoption across both workstation and server-oriented ecosystems.

GitHub repository metadata observed on 2026-07-01 reported 13,555 stars and 674 forks, which is substantial for a specialist backup utility and helps explain why it appears in multiple package indexes rather than only as a manual binary download.

### 使用方式

Operators use Kopia to create repositories, snapshot selected directories, restore files, and connect repositories to cloud, remote, or local storage. It is not an image-backup tool; the official README frames it around backing up directories and files that users choose.

For package users, the important split is CLI versus GUI: the `kopia` command supports automation and server use, while the same project also offers a desktop-facing experience for less shell-heavy backup workflows.

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

Kopia matters to package nerds because it is a compact, cross-platform backup stack with encryption and deduplication built in, so one formula gives users a serious alternative to older backup systems without pulling in a large runtime.

Its Go implementation, multi-backend storage model, and single-command installability make it fit neatly into Homebrew/Nix/Scoop-style package catalogs where users expect modern infrastructure tools to be portable and scriptable.

### 时间线

- 2015-12-19: GitHub repository created.
- 2019-05-10: v0.3.0 prerelease series appears in GitHub releases.
- 2020-03-08: Kopia 0.5.0 was announced as an early milestone release in community-facing project discussion.
- 2026-06-16: GitHub showed v0.23.1 as a release on the repository page.

### Related projects

- Kopia sits near restic, BorgBackup, Duplicacy, and rclone in package-manager culture: tools for encrypted personal and server backups, deduplicated repositories, and cloud-backed storage workflows.
- Rclone is also directly related because Kopia documentation lists Rclone-backed locations as a storage option, with Kopia managing and running Rclone for those backends.

### 来源

- <https://api.github.com/repos/kopia/kopia>
- <https://api.github.com/repos/kopia/kopia/releases>
- <https://github.com/kopia/kopia>
- <https://kopia.io/docs>


## 安全说明

没有找到 kopia 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Linux: ~/.config/kopia/repository.config
- macOS: ~/Library/Application Support/kopia/repository.config
- Windows: %APPDATA%\kopia\repository.config

## Credential files

- Linux: ~/.config/kopia/repository.config
- macOS: ~/Library/Application Support/kopia/repository.config
- Windows: %APPDATA%\kopia\repository.config
## 其他软件包管理器记录

- Nix - kopia: normalized package name match | nixpkgs package indexes: pkgs/by-name/ko/kopia/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - kopia - 0.22.3-r6: normalized package name match | Alpine Linux edge package indexes: kopia from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast and secure backup tool | https://kopia.io/
- apk - kopia-bash-completion - 0.22.3-r6: normalized package name match | Alpine Linux edge package indexes: kopia-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for kopia | https://kopia.io/
- apk - kopia-zsh-completion - 0.22.3-r6: normalized package name match | Alpine Linux edge package indexes: kopia-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for kopia | https://kopia.io/
- zypper - kopia - 0.23.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kopia from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Cross-platform backup tool with fast incremental backups | https://github.com/kopia/kopia
- Scoop - main/kopia: normalized package name match | Scoop official bucket manifest trees: bucket/kopia.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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